CVE-2018-1000005: Critical severity haxx libcurl vulnerability

Published Jan 18, 2018
·
Updated

An out-of-bounds read in code handling HTTP/2 trailers was found. This could lead to a denial-of-service or an information disclosure in some circumstances.

Affected versions: libcurl 7.49.0 to and including 7.57.0 Not affected versions: libcurl < 7.49.0 and >= 7.58.0

Upstream bug report:

https://github.com/curl/curl/pull/2231

Upstream patch:

https://github.com/curl/curl/commit/fa3dbb9a147488a294.patch

Other sources

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.

Affected Software

8 affected componentsFixes available
redhat/curl<7.58.0
7.58.0
haxx libcurl>=7.49.0<=7.57.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
debian/curl
7.74.0-1.3+deb11u137.74.0-1.3+deb11u167.88.1-10+deb12u147.88.1-10+deb12u58.14.1-2+deb13u28.18.0-28.19.0~rc3-1

Event History

Jan 24, 2018
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
Data Sourced
via NVD·10:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:43 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·03:17 PM
RemedyDescriptionSeverityAffected Software
Feb 28, 2026
Data Sourced
via Debian·03:25 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2018-1000005?

The severity of CVE-2018-1000005 is critical with a value of 9.1.

2

How does CVE-2018-1000005 affect libcurl?

CVE-2018-1000005 affects libcurl versions 7.49.0 to and including 7.57.0.

3

What is the remedy for CVE-2018-1000005?

The remedy for CVE-2018-1000005 is to update libcurl to version 7.58.0 or higher.

4

Where can I find more information about CVE-2018-1000005?

More information about CVE-2018-1000005 can be found at the following references: [Github Pull Request](https://github.com/curl/curl/pull/2231), [Github Commit](https://github.com/curl/curl/commit/fa3dbb9a147488a294.patch), [Curl Advisory](https://curl.haxx.se/docs/adv_2018-824a.html).

5

What is the CWE for CVE-2018-1000005?

The CWE for CVE-2018-1000005 is CWE-125 (Out-of-bounds Read).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203