VDB

CVE-2016-8622

CVE-2016-8622 PUBLISHED CVSS 3.7 LOW

Reported by redhat · Published July 31, 2018

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libcurl-gnutlsArch Linux7.51.0-1
curlArch Linux7.51.0-1
libcurl-compatArch Linux7.51.0-1
curlAlpine7.51.0-r0, 7.51.0, 7.49.1-r4
libcurlhaxx7.51.0
curlUbuntu:14.04:LTS7.35.0-1ubuntu2.10

Risk scores

CVSS 3.0
3.7
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected products

VendorProductVersions
The Curl Projectcurl7.51.0
archlibcurl-gnutls0
archcurl0
archlibcurl-compat0
alpinecurl0, 0, 0
The Curl Projectcurl7.51.0

Timeline

  • Nov 2, 2016 CVE Published
  • Feb 4, 2022 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 5, 2026 Distribution Patch (4 in total, the first dated here)
  • Mar 5, 2026 Security Advisory (15 in total, the first dated here)
  • Oct 6, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2016-8622
vulnetix vdb fixes CVE-2016-8622

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-8622/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • RHSA-2018:3558 vendor-advisoryx_refsource_REDHAT
  • x_refsource_CONFIRM
  • x_refsource_CONFIRM
  • 1037192 vdb-entryx_refsource_SECTRACK
  • x_refsource_CONFIRM
  • 94105 vdb-entryx_refsource_BID
  • RHSA-2018:2486 vendor-advisoryx_refsource_REDHAT
  • GLSA-201701-47 vendor-advisoryx_refsource_GENTOO
  • x_refsource_CONFIRM
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›