Vulnerability 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.
Related Weaknesses (CWE)
References
- https://github.com/SamVerschueren/decode-uri-component/blob/00662938dc7c6241547a
- https://github.com/SamVerschueren/decode-uri-component/commit/fa479dafeede7bedf0
- https://www.npmjs.com/package/decode-uri-component
FAQ
What is CVE-2026-45822?
CVE-2026-45822 is a documented vulnerability. 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: ...
How severe is CVE-2026-45822?
CVSS scoring is not yet available for CVE-2026-45822. Check NVD for updates.
Is there a patch for CVE-2026-45822?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.