CVE-2018-1000005
publishedcurl: Out-of-bounds read in code handling HTTP/2 trailers
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2018-951 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | v3.4 | curl | Fixed | 7.58.0-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | curlaarch64 | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| Ubuntu | xenial | curl | Advisory build | 7.47.0-1ubuntu2.6 | USN-3554-1 |
| Amazon Linux | AL2 | curlsrc | Listed in advisory | Not stated | ALAS2-2018-951 |
| Alpine Linux | v3.5 | curl | Fixed | 7.58.0-r0 | Package fix record |
| Alpine Linux | v3.6 | curl | Fixed | 7.58.0-r0 | Package fix record |
Show 24 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.7 | curl | Fixed | 7.58.0-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | curlppc64le | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | curls390x | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | curlx86_64 | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-develaarch64 | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-develppc64le | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devels390x | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-develx86_64 | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devel-32bitaarch64 | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devel-32bitppc64le | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devel-32bits390x | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devel-32bitx86_64 | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4aarch64 | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4ppc64le | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4s390x | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4x86_64 | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4-32bitaarch64 | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4-32bitppc64le | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4-32bits390x | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4-32bitx86_64 | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| Ubuntu | xenial | libcurl3 | Advisory build | 7.47.0-1ubuntu2.6 | USN-3554-1 |
| Ubuntu | xenial | libcurl3-gnutls | Advisory build | 7.47.0-1ubuntu2.6 | USN-3554-1 |
| Ubuntu | xenial | libcurl3-nss | Advisory build | 7.47.0-1ubuntu2.6 | USN-3554-1 |
| Amazon Linux | AL2 | curlx86_64 | Listed in advisory | Not stated | ALAS2-2018-951 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
6- 1040273 http://www.securitytracker.com/id/1040273
- RHSA-2019:1543 https://access.redhat.com/errata/RHSA-2019:1543
- https://curl.haxx.se/docs/adv_2018-824a.html
- https://github.com/curl/curl/pull/2231
- USN-3554-1 https://usn.ubuntu.com/3554-1/
- DSA-4098 https://www.debian.org/security/2018/dsa-4098
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0bf6bc460ac585c5819a4ee9c5e6826534632427841011aa148a4e9fd13cbfa0
- Ingested
- 23 Sep 2026, 07:43:16 UTC
- Source record
- Official CVE record