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.

Severity (CVSS 4.0)6.6Medium
Exploit odds (30 days)0.5%top 56.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Ubuntu:22.04:LTSnode-source-map-resolveno fix listedUBUNTU-CVE-2026-45822
Ubuntu:24.04:LTSnode-source-map-resolveno fix listedUBUNTU-CVE-2026-45822
Ubuntu:25.10node-source-map-resolveno fix listedUBUNTU-CVE-2026-45822
Ubuntu:26.04:LTSnode-source-map-resolveno fix listedUBUNTU-CVE-2026-45822
Ubuntu:26.10node-source-map-resolveno fix listedUBUNTU-CVE-2026-45822
npmdecode-uri-component0.5.0GHSA-vcc3-ghjq-m6fr

Affected products (as reported)

VendorProductVersions
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

References