CVE Database›CVE-2016-8622

CVE-2016-8622

curl: URL unescape heap overflow via integer truncation

Loading…

Severity

Low

Red Hat Product Security

3.7

CVSS 3.0

Review impact separately from score.

Published · November 2, 2016

Updated · September 21, 2026

Description

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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.0 · 3.7
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

CVSS 2.0 · 2.6
AV:N/AC:H/Au:N/C:N/I:P/A:N

CWE-190 · Integer Overflow or Wraparound