๐Ÿ” CVE Alert

CVE-2026-118664

UNKNOWN 0.0

decode-uri-component: Denial of service via quadratic replacement of percent-encoded runs

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-400 CWE-407
Vendor samverschueren
Product decode-uri-component
Published Oct 28, 2026
Stay Ahead of the Next One

Get instant alerts for samverschueren decode-uri-component

Be the first to know when new unknown vulnerabilities affecting samverschueren decode-uri-component are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

SamVerschueren / decode-uri-component
< 0.5.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/SamVerschueren/decode-uri-component/security/advisories/GHSA-qr28-fpjm-wq7f github.com: https://github.com/SamVerschueren/decode-uri-component/commit/fad01d65b93bd3f2f0dc32dfd8d57a38b57bc608 github.com: https://github.com/SamVerschueren/decode-uri-component/releases/tag/v0.5.1