Buffer overflow in Haxx Libcurl
CVE-2016-8622
The URL percent-encoding decode function in libcurl before 7.51.0 is called `curl_easy_unescape`. Internally, even if this function would be made to allocate a unscape destination buffer larger than 2GB, it would return that new length in a signed 32 bit integer variable, thus the length would get either just truncated or both truncated and turned negative. That could then lead to libcurl writing outside of its heap based buffer.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.7 (Low). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS: 0.047 (91.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 91st percentile — 91.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.047 · newest: 0.047 · change: 0.000
Affected products
- Haxx Libcurl
- The Curl Project — versions 7.51.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- access.redhat.com/errata/RHSA-2018:3558 (vendor-advisory)
- curl.haxx.se/docs/adv_20161102H.html (Patch, Vendor Advisory)
- www.tenable.com/security/tns-2016-21 (Third Party Advisory)
- www.securitytracker.com/id/1037192 (VDB Entry, Third Party Advisory, vdb-entry)
- www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- www.securityfocus.com/bid/94105 (VDB Entry, Third Party Advisory, vdb-entry)
- access.redhat.com/errata/RHSA-2018:2486 (vendor-advisory, Third Party Advisory)
- security.gentoo.org/glsa/201701-47 (vendor-advisory, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
Frequently asked questions
- What is CVE-2016-8622?
- CVE-2016-8622 is a low-severity vulnerability in Haxx Libcurl, classified under Heap-based Buffer Overflow. CVSS score: 3.7/10. Published 2018-07-31.
- How severe is CVE-2016-8622?
- Low severity. CVSS v3 base score is 3.7 out of 10.
- Is CVE-2016-8622 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.