CVE-2016-8622CWE-122CWE-190

The URL percent-encoding decode function in libcurl before 7.51.0 is called `curl_easy_unescape`

Low · published July 31, 2018

CVSS v3.0
3.7
EPSS
5%
Percentile
91.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
3.7 · LOW
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.04670 · 91.7th percentile
Weaknesses
CWE-122 · Heap-based Buffer Overflow; CWE-190 · Integer Overflow or Wraparound
Published
2018-07-31T21:00Z
EPSS history
Timeline
  • 31 JUL 21:00Z
    The URL percent-encoding decode function in libcurl before 7.51.0 is called `curl_easy_unescape`
    cvelistv5