PT-2016-7528

CVE-2016-8622

·

Published

2016-11-02

·

Updated

2026-09-18

Description by

CVSS 2.0
7.5
High
MetricsAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions libcurl versions prior to 7.51.0
Description The issue concerns the URL percent-encoding decode function in libcurl, internally known as curl easy unescape. This function can lead to libcurl writing outside of its heap-based buffer if it attempts to allocate a destination buffer larger than 2GB, due to the length being returned in a signed 32-bit integer variable. This can cause the length to be truncated or become negative. The problem can be triggered by a user on a 64-bit system if they can send a custom, very large URL to a libcurl-using program.
Recommendations For versions prior to 7.51.0, update to version 7.51.0 or later to resolve the issue. As a temporary workaround, consider restricting the size of URLs that can be processed by libcurl to prevent the curl easy unescape function from attempting to allocate excessively large buffers.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
ALT-PU-2016-2231
CLEANSTART-2026-AY18527
CLEANSTART-2026-BW46578
CLEANSTART-2026-DI23929
CLEANSTART-2026-LQ42192
CLEANSTART-2026-OF85770
CLEANSTART-2026-XZ19364
DLA-711-1
DSA-3705-1
MGASA-2018-0053
OPENSUSE-SU-2016_2768-1
OPENSUSE-SU-2024:10303-1
RHSA-2018:3558
SUSE-SU-2016:2699-1
SUSE-SU-2016:2700-1
SUSE-SU-2016:2714-1
SUSE-SU-2017:2699-1
SUSE-SU-2017:2700-1
USN-3123-1
Found an issue in the description? Have something to add? Feel free to write us 👾