Integer overflowin The Curl Project curl.
No public exploit found; not on exploited lists.
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.
- No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.
Not confirmed by any source yet: fixed version not confirmed. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 12 Oct 2016CVE ID reserved by redhat.
- 31 Jul 2018Published in the CVE List.
- 15 Apr 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other curl vulnerabilities
Same weakness: Integer overflow
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- curl.haxx.se x_refsource_CONFIRM
- www.tenable.com x_refsource_CONFIRM
- www.securitytracker.com vdb-entry, x_refsource_SECTRACK
- www.oracle.com x_refsource_CONFIRM
- www.securityfocus.com vdb-entry, x_refsource_BID
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- security.gentoo.org vendor-advisory, x_refsource_GENTOO
- bugzilla.redhat.com x_refsource_CONFIRM
Patchminder. CVE-2016-8622: Integer overflow in The Curl Project curl. https://patchminder.com/cve/cve-2016-8622/ (accessed 5 December 2026).