Summary
decode-uri-component: Denial of service via exponential decoding of malformed percent-encoded input
Advisory details
Impact
An attacker who can supply input to decodeUriComponent() (directly or via a dependency that uses this package on URL/query/path data) can cause excessive CPU usage and application unresponsiveness. This is an availability issue; there is no known memory corruption, data disclosure, or remote code execution impact.
Patches
Upgrade to decode-uri-component@0.5.0.
Workarounds
Limit the size of the input.
References
- https://github.com/advisories/GHSA-vcc3-ghjq-m6fr
- https://github.com/SamVerschueren/decode-uri-component/security/advisories/GHSA-vcc3-ghjq-m6fr
- https://nvd.nist.gov/vuln/detail/CVE-2026-45822
- https://github.com/SamVerschueren/decode-uri-component/commit/fa479dafeede7bedf04e5c89aa78f2a78c664005
- https://github.com/SamVerschueren/decode-uri-component/blob/00662938dc7c6241547ae8abce7785cc13ffd3f6/index.js
- https://github.com/SamVerschueren/decode-uri-component/releases/tag/v0.5.0
- https://www.npmjs.com/package/decode-uri-component
Related vulnerabilities
All Supply chain →- MEDIUMCVE-2026-81723
NLTK: Quadratic CPU Exhaustion in `XMLCorpusView._read_xml_fragment()`
- HIGHCVE-2026-55099
icalendar has Algorithmic Complexity in Equality
- HIGHCVE-2026-71491
sqlparse: Quadratic O(n²) DoS in group_comments
- HIGHGHSA-gm3r-q2wp-hw87
Shescape: Quadratic-time denial of service in the flag-protection
- HIGHCVE-2026-55685
React Router: Unauthenticated Denial of Service via Inefficient Route Matching
- HIGHCVE-2026-59885
pyasn1: Quadratic complexity in OBJECT IDENTIFIER and RELATIVE-OID processing allows denial of service