CVE-2018-1000005 json
libcurl 7.49.0 to and including 7.57.0 contains an out bounds read in code handling HTTP/2 trailers.
published 2018-01-24 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-1777
- cvss
- 9.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.6%
- EPSS 4.6% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- curl Debian 14, Debian 13, Debian 12 7.58.0-1
debian advisories DEBIAN-CVE-2018-1000005
- curl Ubuntu 16.04 LTS 7.47.0-1ubuntu2.6
ubuntu advisories UBUNTU-CVE-2018-1000005
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- curl openSUSE Tumbleweed 7.79.1-1.1
opensuse advisories openSUSE-SU-2024:10582-1
- curl Alpine 3.7, Alpine 3.6, Alpine 3.5 +1 more 7.58.0-r0
alpine advisories ALPINE-CVE-2018-1000005
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/curl/curl#2231 pull request
- curl.haxx.se/docs/adv_2018-824a.html advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-1000005 updated cvss 4.8
curl: Out-of-bounds read in code handling HTTP/2 trailers
-
Red Hat JBoss Core Services Apache HTTP Server 2.4.29 SP2fixed: vendor fix RHSA-2019:1543
-
Red Hat .NET Core 1.0 on Red Hat Enterprise Linux rh-dotnetcore10-curl Red Hat .NET Core 1.1 on Red Hat Enterprise Linux rh-dotnetcore11-curl Red Hat .NET Core 2.0 on Red Hat Enterprise Linux rh-dotnet20-curl Red Hat Ceph Storage 2 curl, libcurl Red Hat Enterprise Linux 5 curl Red Hat Enterprise Linux 6 curl, libcurlnot affected: vulnerable code not present
+3 more productsfewer
Red Hat Enterprise Linux 7 curl, libcurl Red Hat Enterprise Linux 8 curl, libcurl, libcurl-minimal Red Hat Software Collections httpd24-curl, httpd24-libcurl
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-19-155-01 updated cvss 9.1
PHOENIX CONTACT PLCNext AXC F 2152
-
Phoenix Contact AXC F 2152 2404267 version 1.x, 1046568 (Starterkit) version 1.xaffected: vendor fix, mitigation “Phoenix Contact recommends affected users update to firmware release 2019.0 LTS or later, update to PLCNext Engineer release 2019.0 LTS or later, and apply the following specific mitigations below:” phoenixcontact.com
From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf
Exploit prediction
4.56% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:P/I:N/A:P |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/curl/curl/pull/2231
issue-tracking, patch, third-party-advisory
-
curl.haxx.se
/docs/adv_2018-824a.html
patch, vendor-advisory
-
usn.ubuntu.com
/3554-1/
vendor-advisory, third-party-advisory
-
debian.org
/security/2018/dsa-4098
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:1543
vendor-advisory
-
securitytracker.com
/id/1040273
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2018-1000005
- NVD CVE-2018-1000005
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.