LiveActive security incident?Get immediate response
CVE Record

CVE-2016-8622: The URL percent-encoding decode function in libcurl before 7.51.0 is called `curl_easy_unescape`.

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.

LowCVSS 3.7Not KEV-listedUpdated
Glexia's TakeAutomated analysislow

Security readout for executives and security teams

Plain-English summary

This is an old low-severity libcurl memory corruption issue. An application using libcurl could mishandle extremely large percent-decoded data and write outside a heap buffer. Business urgency is limited unless legacy libcurl is still embedded in products, containers, or appliances that process untrusted encoded input.

Executive priority

Treat as routine legacy risk management, not an emergency. Confirm whether vulnerable libcurl remains in production or embedded products, then remediate through normal patch cycles.

Technical view

In libcurl before 7.51.0, curl_easy_unescape could allocate an output buffer larger than 2GB but return the decoded length through a signed 32-bit integer. Truncation or a negative length could lead to heap out-of-bounds writes. CVSS rates this network-reachable but high-complexity, with low integrity impact only.

Likely exposure

Exposure is most likely in legacy systems, vendor appliances, statically linked applications, or containers using libcurl before 7.51.0 and calling curl_easy_unescape on untrusted URL-encoded data.

Exploitation context

The bundle does not cite active exploitation, and CISA KEV is false. Practical exploitation appears constrained by high complexity and the need for an affected application path that decodes very large attacker-controlled percent-encoded input.

Researcher notes

Key uncertainty is application reachability. The CVE describes a vulnerable library function, so product impact depends on whether software invokes curl_easy_unescape with attacker-controlled, very large encoded input. Avoid assuming exploitability from package presence alone.

Mitigation direction

  • Upgrade curl/libcurl to 7.51.0 or later, or vendor backported fixed packages.
  • Check Red Hat, Gentoo, Oracle, and upstream curl advisories for platform-specific fixes.
  • Replace unsupported legacy builds embedded in applications, containers, and appliances.
  • Until patched, reduce exposure of services decoding untrusted URL-encoded input.

Validation and detection

  • Inventory curl and libcurl versions across hosts, containers, and bundled application dependencies.
  • Identify applications that call curl_easy_unescape or vendor components using libcurl decoding.
  • Confirm installed vendor packages explicitly address CVE-2016-8622.
  • Prioritize validation on internet-facing services that parse untrusted encoded URLs or parameters.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-122: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-190: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2016-8622 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Low
CVSS
3.7 (3.0)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
7Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
3.7CVSS 3.0LowCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N2.21.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.0 score

3.7Low
CVSS 3.0 vector shape for CVE-2016-8622Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
The Curl Projectcurl7.51.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-122 · source CWE mapping

Heap-based Buffer Overflow

Heap-based Buffer Overflow represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-190 · source CWE mapping

Integer Overflow or Wraparound

Integer Overflow or Wraparound represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.