GHSA-vcc3-ghjq-m6fr
decode-uri-component: Denial of service via exponential decoding of malformed percent-encoded input
At a glance
- Published
- Updated
- CVE
- CVE-2026-45822
- CVSS_V4
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/S:N/AU:Y/R:U/V:D/RE:M/U:Amber
Description
### 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.
Affected packages
| Package | Versions |
|---|---|
| npm · decode-uri-component | introduced 0, fixed 0.5.0 |
References
- https://github.com/SamVerschueren/decode-uri-component/security/advisories/GHSA-vcc3-ghjq-m6fr WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-45822 ADVISORY
- https://github.com/SamVerschueren/decode-uri-component/commit/fa479dafeede7bedf04e5c89aa78f2a78c664005 WEB
- https://github.com/SamVerschueren/decode-uri-component PACKAGE
- https://github.com/SamVerschueren/decode-uri-component/blob/00662938dc7c6241547ae8abce7785cc13ffd3f6/index.js WEB
- https://github.com/SamVerschueren/decode-uri-component/releases/tag/v0.5.0 WEB
- https://www.npmjs.com/package/decode-uri-component WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |