9.8

CVE-2016-8622: haxx libcurl Heap-based Buffer Overflow

CVSS: 9.8v3.0CriticalModified
AliasesALPINE-CVE-2016-8622UBUNTU-CVE-2016-8622DEBIAN-CVE-2016-8622
Published 31-07-2018Last modified 15-04-2026

Vulnerability summary

CVE-2016-8622 is a critical (CVSS 9.8) Heap-based Buffer Overflow vulnerability in haxx libcurl. EPSS estimates a 4.67% chance of exploitation in the next 30 days, higher than 91.6% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.0 (NVD)
EPSS score
4.67%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 9 · Related 5

Timeline

  1. 31-07-2018
    PublishedVulnerability first disclosed.
  2. 15-04-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

4.67%

Chance of exploitation in the next 30 days

Percentile

92%

Versus all other CVEs

30-day change

0.00 pp

From 4.67% on 18-09-2026

18-09-202618-10-2026
EPSS score
4.67%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Alpine1 product
  • curl< 7.51.0-r0 | < 7.51.0 | < 7.49.1-r4
Debian1 product
  • curl< 7.51.0-1
Haxx1 product
The curl project1 product
Ubuntu1 product
  • curl< 7.35.0-1ubuntu2.10 | < 7.47.0-1ubuntu2.2

5 vendors · 5 products

References

14 links
Show all 14 references