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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:haxx:libcurl:*:*:*:*:*:*:*:*

History

21 Nov 2024, 02:59

Type Values Removed Values Added
References () http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html - () http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html -
References () http://www.securityfocus.com/bid/94105 - Third Party Advisory, VDB Entry () http://www.securityfocus.com/bid/94105 - Third Party Advisory, VDB Entry
References () http://www.securitytracker.com/id/1037192 - Third Party Advisory, VDB Entry () http://www.securitytracker.com/id/1037192 - Third Party Advisory, VDB Entry
References () https://access.redhat.com/errata/RHSA-2018:2486 - Third Party Advisory () https://access.redhat.com/errata/RHSA-2018:2486 - Third Party Advisory
References () https://access.redhat.com/errata/RHSA-2018:3558 - () https://access.redhat.com/errata/RHSA-2018:3558 -
References () https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8622 - Issue Tracking, Patch, Third Party Advisory () https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8622 - Issue Tracking, Patch, Third Party Advisory
References () https://curl.haxx.se/docs/adv_20161102H.html - Patch, Vendor Advisory () https://curl.haxx.se/docs/adv_20161102H.html - Patch, Vendor Advisory
References () https://security.gentoo.org/glsa/201701-47 - Third Party Advisory () https://security.gentoo.org/glsa/201701-47 - Third Party Advisory
References () https://www.tenable.com/security/tns-2016-21 - Third Party Advisory () https://www.tenable.com/security/tns-2016-21 - Third Party Advisory
CVSS v2 : 7.5
v3 : 9.8
v2 : 7.5
v3 : 3.7

Information

Published : 2018-07-31 21:29

Updated : 2024-11-21 02:59


NVD link : CVE-2016-8622

Mitre link : CVE-2016-8622

CVE.ORG link : CVE-2016-8622


JSON object : View

Products Affected

haxx

  • libcurl
CWE
CWE-122

Heap-based Buffer Overflow

CWE-190

Integer Overflow or Wraparound

CWE-787

Out-of-bounds Write