SecurityContext

CVE-2018-1000005: libcurl - Out of Bounds Read

  • Cve: CVE-2018-1000005
  • Name: libcurl - Out of Bounds Read
  • Description: libcurl 7.49.0 to and including 7.57.0 contains an out bounds read in code handling HTTP/2 trailers. It was reported (https://github.com/curl/curl/pull/2231) that reading an HTTP/2 trailer could mess up future trailers since the stored size was one byte less than required. The problem is that the code that creates HTTP/1-like headers from the HTTP/2 trailer data once appended a string like `:` to the target buffer, while this was recently changed to `: ` (a space was added after the colon) but the following math wasn't updated correspondingly. When accessed, the data is read out of bounds and causes either a crash or that the (too large) data gets passed to client write. This could lead to a denial-of-service situation or an information disclosure if someone has a service that echoes back or uses the trailers for something.
  • Impact: Attackers can cause crashes or information disclosure by sending malicious HTTP/2 trailers, leading to denial-of-service or data leakage.
  • Remediation: Update to the latest version of libcurl where the issue is fixed.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: denial_of_service, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.1
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
  • Epss score: 0.04556
  • Epss percentile: 0.91729
  • Assignee: [email protected]
  • Published at: 2018-01-24T22:29:00Z
  • Age in days: 3226
  • Modified at: 2026-06-17T01:32:11Z
  • Patch available: yes
  • References total: 6
  • Products total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-1000005
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-125Out-of-bounds Read

References

Same in every row:

  • Source: nvd
UrlTags
https://curl.haxx.se/docs/adv_2018-824a.htmlPatch, Vendor Advisory
https://github.com/curl/curl/pull/2231Issue Tracking, Patch, Third Party Advisory
http://www.securitytracker.com/id/1040273Third Party Advisory, VDB Entry
https://usn.ubuntu.com/3554-1/Third Party Advisory
https://www.debian.org/security/2018/dsa-4098Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:1543

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
haxx:libcurl>= 7.49.0, <= 7.57.0/v1/products/haxx/libcurl
debian:debian_linux= 9.0, = 8.0/v1/products/debian/debian_linux
canonical:ubuntu_linux= 17.10, = 16.04, = 14.04/v1/products/canonical/ubuntu_linux

Projects

RepositoryLink kindsIndexedUrl
curl/curlfix, pullyes/v1/repositories/curl/curl

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 21216412
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports