CVE-2026-45822
MEDIUM 6.6CVSS 4.0decode-uri-component: Denial of service via exponential decoding of malformed percent-encoded input
decode-uri-component through 0.4.1 is vulnerable to denial of service. The decode() function splits input on '%' producing N tokens and calls decodeComponents(), exhibiting super-linear parsing time: 200 '%ab' tokens takes approximately 0.7s, 700 tokens approximately 6s, and 1400 tokens approximately 33s. An attacker can cause significant CPU consumption and event-loop blocking via crafted input.
- Published
- 30 Jun 2026
- Last modified
- 25 Oct 2026
- Assigned by
- 22e2d327-25fe-45d7-9f0c-dcd23b7108df
- NVD status
- Deferred
- Weakness
- CWE-1176CWE-400CWE-405CWE-407
- Also known as
- GHSA-vcc3-ghjq-m6fr
- Sources
- NVDJSONOSV GHSA-vcc3-ghjq-m6frJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 22e2d327-25fe-45d7-9f0c-dcd23b7108df (Secondary) | CVSS 4.0 | MEDIUM 6.6 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:U/V:D/RE:M/U:Amber |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | decode-uri-component | < 0.5.0 | 0.5.0 |
References
- https://github.com/SamVerschueren/decode-uri-component/blob/00662938dc7c6241547ae8abce7785cc13ffd3f6/index.js · WEB
- https://github.com/SamVerschueren/decode-uri-component/commit/fa479dafeede7bedf04e5c89aa78f2a78c664005 · WEB
- https://www.npmjs.com/package/decode-uri-component · WEB
- 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 · PACKAGE
- https://github.com/SamVerschueren/decode-uri-component/releases/tag/v0.5.0 · WEB
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 30 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 31 Aug 2026)