CVE-2018-1000005 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2019:1543 | CVE | |
| https://curl.haxx.se/docs/adv_2018-824a.html | CVE | PatchVendor Advisory |
| https://github.com/curl/curl/pull/2231 | CVE | Issue TrackingPatchThird Party Advisory |
| https://usn.ubuntu.com/3554-1/ | CVE | Third Party Advisory |
| https://www.debian.org/security/2018/dsa-4098 | CVE | Third Party Advisory |
| http://www.securitytracker.com/id/1040273 | CVE | Third Party AdvisoryVDB Entry |
| https://access.redhat.com/errata/RHSA-2019:1543 | [email protected] | |
| https://curl.haxx.se/docs/adv_2018-824a.html | [email protected] | PatchVendor Advisory |
| https://github.com/curl/curl/pull/2231 | [email protected] | Issue TrackingPatchThird Party Advisory |
| https://usn.ubuntu.com/3554-1/ | [email protected] | Third Party Advisory |
| https://www.debian.org/security/2018/dsa-4098 | [email protected] | Third Party Advisory |
| http://www.securitytracker.com/id/1040273 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| haxx libcurl | >= 7.49.0, <= 7.57.0 |
CPE
Remediation
| |
| debian debian linux | 8.0 9.0 |
CPE
Remediation
| |
| canonical ubuntu linux | 14.04 16.04 17.10 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jun 18, 2019 | CVE Modified | [email protected] |
| Mar 25, 2019 | Modified Analysis | [email protected] |
| Mar 21, 2018 | CVE Modified | [email protected] |
| Feb 9, 2018 | Initial Analysis | [email protected] |
| Jan 28, 2018 | CVE Modified | [email protected] |
| Jan 26, 2018 | CVE Modified | [email protected] |