Vulnerability · Published Jun 30, 2026 · Assigned by seal
CVE-2026-45822
Medium 6.6
In plain English
A medium-severity uncontrolled resource consumption in decode-uri-component from SamVerschueren. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:22.04:LTS | node-source-map-resolve | no fix listed | UBUNTU-CVE-2026-45822 |
| Ubuntu:24.04:LTS | node-source-map-resolve | no fix listed | UBUNTU-CVE-2026-45822 |
| Ubuntu:25.10 | node-source-map-resolve | no fix listed | UBUNTU-CVE-2026-45822 |
| Ubuntu:26.04:LTS | node-source-map-resolve | no fix listed | UBUNTU-CVE-2026-45822 |
| Ubuntu:26.10 | node-source-map-resolve | no fix listed | UBUNTU-CVE-2026-45822 |
| npm | decode-uri-component | 0.5.0 | GHSA-vcc3-ghjq-m6fr |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| SamVerschueren | decode-uri-component | 0.1.0 – before 0.5.0 |
Weakness: CWE-400, CWE-407 · Vector: 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