CVE-2026-118664

HIGH CVSS 4.0: 8.2 EPSS 0.51%
Updated Oct 29, 2026
Samverschueren
Parameter Value
CVSS 8.2 (HIGH)
Fixed In 0.5.1
Type CWE-407, CWE-400 (Uncontrolled Resource Consumption)
Vendor Samverschueren
Public PoC No

decode-uri-component provides a more robust alternative to decodeURIComponent. Prior to 0.5.1, decodeUriComponent in index.js falls back to customDecodeURIComponent after native decoding throws, and the fallback collects every distinct percent-encoded run before performing a full-string regular-expression replacement for each entry. Malformed input containing many distinct runs can therefore make both the number of replacements and the scanned input length grow together, causing quadratic CPU consumption and blocking the Node.js event loop; request-body inputs can reach the demonstrated size, while ordinary URL header limits reduce the practical delay.

This issue is fixed in version 0.5.1.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Vulnerable Products

samverschueren:decode-uri-component