VYPR
Unrated severityNVD Advisory· Published Jul 31, 2018· Updated Apr 15, 2026

CVE-2016-8622

CVE-2016-8622

Description

libcurl's curl_easy_unescape function has an integer truncation flaw when decoding percent-encoded URLs, leading to heap buffer overflow on 64-bit systems.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

libcurl's curl_easy_unescape function has an integer truncation flaw when decoding percent-encoded URLs, leading to heap buffer overflow on 64-bit systems.

Vulnerability

The URL percent-encoding decode function curl_easy_unescape in libcurl versions before 7.51.0 contains an integer truncation vulnerability. When decoding a very large URL, the function may allocate a destination buffer larger than 2GB, but the returned length is stored in a signed 32-bit integer variable. This causes the length to be truncated or become negative, leading to a heap buffer overflow when libcurl writes the decoded data [4]. Affected versions: libcurl < 7.51.0.

Exploitation

An attacker on a 64-bit system who can supply a custom, very large URL to a program using libcurl can trigger the vulnerability. No authentication is required if the program processes user-supplied URLs. The attacker must craft a URL that causes the decoded output to exceed 2GB, causing integer truncation [4]. The vulnerability is reachable via any application that uses curl_easy_unescape on attacker-controlled input.

Impact

Successful exploitation results in a heap buffer overflow, potentially allowing arbitrary code execution or denial of service. The attacker may write out-of-bounds, compromising confidentiality, integrity, and availability of the affected system [1][2][3].

Mitigation

Fixed in libcurl version 7.51.0, released on November 2, 2016 [4]. Red Hat has provided updates via RHSA-2018:3558 for httpd24-curl [1] and RHSA-2018:2486 for JBoss Core Services [2]. Tenable LCE 4.8.2 also includes the fix [3]. Users should upgrade to patched versions. No workaround is available.

AI Insight generated on May 24, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

12

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

9

News mentions

0

No linked articles in our index yet.