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
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-711-1 | curl security update |
Debian DSA |
DSA-3705-1 | curl security update |
EUVD |
EUVD-2016-9467 | 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. |
Ubuntu USN |
USN-3123-1 | curl vulnerabilities |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
No history.
Status: PUBLISHED
Assigner: redhat
Published:
Updated: 2024-08-06T02:27:40.993Z
Reserved: 2016-10-12T00:00:00
Link: CVE-2016-8622
No data.
Status : Modified
Published: 2018-07-31T21:29:00.317
Modified: 2024-11-21T02:59:41.960
Link: CVE-2016-8622
OpenCVE Enrichment
No data.
Debian DLA
Debian DSA
EUVD
Ubuntu USN