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

No history.

Information

Published : 2018-07-31 21:29

Updated : 2023-12-10 12:44


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-787

Out-of-bounds Write

CWE-122

Heap-based Buffer Overflow

CWE-190

Integer Overflow or Wraparound