CVE-2026-45822

decode-uri-component: decode-uri-component: Denial of Service via crafted input

Published Jun 30, 2026 CVSS 4.0 · 6.6 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-vcc3-ghjq-m6fr decode-uri-component: Denial of service via exponential decoding of malformed percent-encoded input
History
Type Values Removed Values Added
First Time appeared Samverschueren
Samverschueren decode-uri-component
Vendors & Products Samverschueren
Samverschueren decode-uri-component
Type Values Removed Values Added
Title Denial of Service via Exponential Parsing Time in decode‑uri‑component decode-uri-component: decode-uri-component: Denial of Service via crafted input
Weaknesses CWE-1050
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Denial of Service via Exponential Parsing Time in decode‑uri‑component
Type Values Removed Values Added
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.
Weaknesses CWE-400
CWE-407
References
Metrics cvssV4_0

{'score': 6.6, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
seal
Published
Updated
Jun 30, 2026, 12:49 PM
Reserved
May 13, 2026, 12:03 PM
Status
Deferred
Published
Jun 30, 2026, 9:16 AM
Modified
Oct 25, 2026, 9:10 PM
Severity
Important
Public date
Jun 30, 2026, 8:05 AM