CVE-2016-8622Haxx Libcurl
Critical 9.8 No auth needed
Follow: this CVE · Haxx · Haxx Libcurl We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.0
- 9.8
- EPSS
- 4.7% probability of exploitation in 30 days · percentile 93
- Auth required
- No
- Published
- Jul 31, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Libcurl.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| haxx | libcurl | < 7.51.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.oracle.com
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securitytracker.com Third Party Advisory VDB Entry
- access.redhat.com Third Party Advisory
- access.redhat.com
- bugzilla.redhat.com Issue Tracking Patch Third Party Advisory
- curl.haxx.se Patch Vendor Advisory
- security.gentoo.org Third Party Advisory
- www.tenable.com Third Party Advisory