# CVE-2016-8622

- Priority: **Routine**
- Reason: Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-07-31 · Modified: 2026-04-15
- Aliases: ALPINE-CVE-2016-8622, UBUNTU-CVE-2016-8622, DEBIAN-CVE-2016-8622
- Record: https://cvemate.com/vulnerability/CVE-2016-8622 · JSON: https://cvemate.com/vulnerability/CVE-2016-8622/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 4.67%, percentile 92.011%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine curl (Alpine Linux): \< 7.51.0-r0 \| \< 7.51.0 \| \< 7.49.1-r4
- debian curl (Debian): \< 7.51.0-1
- ubuntu curl (Ubuntu): \< 7.35.0-1ubuntu2.10 \| \< 7.47.0-1ubuntu2.2
- haxx libcurl: \< 7.51.0
- the curl project curl: 7.51.0

## References

- <https://access.redhat.com/errata/RHSA-2018:3558>
- <https://curl.haxx.se/docs/adv_20161102H.html>
- <https://www.tenable.com/security/tns-2016-21>
- <http://www.securitytracker.com/id/1037192>
- <http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html>
- <http://www.securityfocus.com/bid/94105>
- <https://access.redhat.com/errata/RHSA-2018:2486>
- <https://security.gentoo.org/glsa/201701-47>
- <https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8622>
- <https://security.alpinelinux.org/vuln/CVE-2016-8622>
- <https://ubuntu.com/security/CVE-2016-8622>
- <https://ubuntu.com/security/notices/USN-3123-1>
- <https://www.cve.org/CVERecord?id=CVE-2016-8622>
- <https://security-tracker.debian.org/tracker/CVE-2016-8622>

---

Data as of 2026-12-05T09:31:28.526Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
