CVE-2016-8622

LOWCVSS 3.7/10EPSS 4.67%

Last modified

CVE-2016-8622 is a low-severity vulnerability rated 3.7/10 on the CVSS scale. 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. EPSS estimates a 4.67% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.0
3.7/10

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

EPSS Probability
4.67%

90.6th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
HaxxLibcurl< 7.51.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2016-8622?
CVE-2016-8622 has a CVSS score of 3.7/10 (LOW severity). The EPSS model estimates a 4.67% probability of exploitation in the next 30 days.
How do I fix CVE-2016-8622?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2016

Are you affected by CVE-2016-8622?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST