CVE-2018-1000005 in Canonical Ubuntu Linux and 2 more products
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 H...
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 14.04 16.04 17.10 |
| Debian | Debian Linux | 8.0 9.0 |
| Haxx | Libcurl | ≥ 7.49.0, ≤ 7.57.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2018-1000005 |
|---|---|
| BreachSpider ID | BS-2018-GLOBAL-226991-C |
| CVSS vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| Published | 2018-01-24 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-125: Out-of-Bounds Read
Software reads data past the boundary of an allocated buffer, leaking sensitive information or causing crashes.
Related attack patterns (CAPEC)
CAPEC-540 Overread Buffers via CWE-125
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2018. A critical vulnerability affects Canonical systems (CVE-2018-1000005). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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 t CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H.
Questions
What is CVE-2018-1000005?
This vulnerability was disclosed in 2018. A critical vulnerability affects Canonical systems (CVE-2018-1000005). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2018-1000005?
CVE-2018-1000005 has CVSS 9.1 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H. EPSS: 4.6%.
Is CVE-2018-1000005 actively exploited?
No confirmed active exploitation of CVE-2018-1000005 as of 2026-05-30.
How do I remediate CVE-2018-1000005?
Priority: MEDIUM. Advisory: https://curl.haxx.se/docs/adv_2018-824a.html PSIRT: [email protected]
What systems are affected by CVE-2018-1000005?
CVE-2018-1000005 affects Canonical Ubuntu Linux; Debian Debian Linux; Haxx Libcurl.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.