cve.bz

CVE-2016-8622 haxx libcurl: Out-of-bounds Write

9.8 criticalEPSS 4.7%Fix available

Critical (9.8) in haxx libcurl. EPSS 4.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

9.8 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
4.7% (unchanged from 4.7% a week ago; 4.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-04-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-787 Out-of-bounds Write
CWE-122 Heap-based Buffer Overflow
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-8622 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-8622?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-8622?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-8622 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
haxx:libcurlbefore 7.51.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7curl7.26.0-1+wheezy17DLA-711-1
Debian8curl7.38.0-4+deb8u5DSA-3705-1
Debian12, 13, 14curl7.51.0-1DEBIAN-CVE-2016-8622
Ubuntu14.04:LTScurl7.35.0-1ubuntu2.10UBUNTU-CVE-2016-8622 USN-3123-1
Ubuntu16.04:LTScurl7.47.0-1ubuntu2.2UBUNTU-CVE-2016-8622 USN-3123-1
Red Hatrhel_software_collections:3::el6httpd24-curl, httpd24-libcurl, httpd24-libcurl-devel and 1 more0:7.61.1-1.el6RHSA-2018:3558
Red Hatrhel_software_collections:3::el6httpd24-httpd, httpd24-mod_ldap, httpd24-httpd-devel and 4 more0:2.4.34-7.el6RHSA-2018:3558
Red Hatrhel_software_collections:3::el6httpd24-mod_ssl, httpd24-mod_proxy_html1:2.4.34-7.el6RHSA-2018:3558
Red Hatrhel_software_collections:3::el6httpd24-nghttp2, httpd24-libnghttp2, httpd24-libnghttp2-devel and 1 more0:1.7.1-7.el6RHSA-2018:3558
Red Hatrhel_software_collections:3::el7httpd24-curl, httpd24-libcurl, httpd24-libcurl-devel and 1 more0:7.61.1-1.el7RHSA-2018:3558
Red Hatrhel_software_collections:3::el7httpd24-httpd, httpd24-mod_md, httpd24-mod_ldap and 5 more0:2.4.34-7.el7RHSA-2018:3558
Red Hatrhel_software_collections:3::el7httpd24-mod_ssl, httpd24-mod_proxy_html1:2.4.34-7.el7RHSA-2018:3558
Red Hatrhel_software_collections:3::el7httpd24-nghttp2, httpd24-libnghttp2, httpd24-libnghttp2-devel and 1 more0:1.7.1-7.el7RHSA-2018:3558
SUSELinux Enterprise Desktop 12 SP1, Linux Enterprise Server 12 SP1, Linux Enterprise Server for SAP Applications 12 SP1 and 1 morecurl7.37.0-31.1SUSE-SU-2016:2699-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4curl7.19.7-1.64.1SUSE-SU-2016:2714-1
SUSELinux Enterprise Server 11-SECURITYcurl-openssl17.19.7-1.64.1SUSE-SU-2016:2714-1
SUSEStudio Onsite 1.3curl7.19.7-1.20.47.2SUSE-SU-2016:2700-1
openSUSETumbleweedcurl7.51.0-1.1openSUSE-SU-2024:10303-1
Alpinev3.2, v3.3curl7.49.1-r4ALPINE-CVE-2016-8622
Alpinev3.4, v3.5, v3.9 and 14 morecurl7.51.0-r0ALPINE-CVE-2016-8622
Alpinev3.6, v3.7, v3.8 and 1 morecurl7.51.0ALPINE-CVE-2016-8622

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat JBoss Core Servicesjbcs-httpd24-curlFixed 2018-08-16RHSA-2018:2486
Red Hat Software Collections for Red Hat Enterprise Linux 6httpd24-curl-0:7.61.1-1.el6Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 6httpd24-httpd-0:2.4.34-7.el6Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 6httpd24-nghttp2-0:1.7.1-7.el6Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7httpd24-curl-0:7.61.1-1.el7Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7httpd24-httpd-0:2.4.34-7.el7Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7httpd24-nghttp2-0:1.7.1-7.el7Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUShttpd24-curl-0:7.61.1-1.el7Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUShttpd24-httpd-0:2.4.34-7.el7Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUShttpd24-nghttp2-0:1.7.1-7.el7Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUShttpd24-curl-0:7.61.1-1.el7Fixed 2018-11-13RHSA-2018:3558
.NET Core 1.0 on Red Hat Enterprise Linuxrh-dotnetcore10-curlOut of support scope
.NET Core 1.1 on Red Hat Enterprise Linuxrh-dotnetcore11-curlOut of support scope
.NET Core 2.0 on Red Hat Enterprise Linuxrh-dotnet20-curlOut of support scope
.NET Core 2.1 on Red Hat Enterprise Linuxrh-dotnet21-curlWill not fix
Red Hat Enterprise Linux 5curlNot affected
Red Hat Enterprise Linux 6curlNot affected
Red Hat Enterprise Linux 7curlWill not fix
Red Hat Enterprise Virtualization 3mingw-virt-viewerWill not fix
Red Hat JBoss Enterprise Web Server 3curlFix deferred
5 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-8622.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON