CVE-2026-45822: CWE-400 Uncontrolled Resource Consumption in SamVerschueren decode-uri-component
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.
AI Analysis
Technical Summary
The decode-uri-component library (up to version 0.4.1) has a denial of service vulnerability (CVE-2026-45822) caused by uncontrolled resource consumption (CWE-400). The decode() function splits input on '%' characters and calls decodeComponents(), resulting in super-linear parsing time. For example, 200 '%ab' tokens take about 0.7 seconds to process, 700 tokens about 6 seconds, and 1400 tokens about 33 seconds. This behavior allows an attacker to craft input that significantly increases CPU consumption and blocks the event loop, impacting application availability.
Potential Impact
An attacker can cause significant CPU resource exhaustion and event-loop blocking by providing specially crafted input with many '%' tokens. This leads to denial of service conditions in applications using vulnerable versions of decode-uri-component, potentially degrading or halting service responsiveness.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is currently documented. Users should monitor vendor communications for updates and consider implementing input validation or rate limiting as temporary mitigations to reduce exposure to crafted inputs causing excessive CPU consumption.
CVE-2026-45822: CWE-400 Uncontrolled Resource Consumption in SamVerschueren decode-uri-component
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.
CVSS v4.0
Score 6.6medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The decode-uri-component library (up to version 0.4.1) has a denial of service vulnerability (CVE-2026-45822) caused by uncontrolled resource consumption (CWE-400). The decode() function splits input on '%' characters and calls decodeComponents(), resulting in super-linear parsing time. For example, 200 '%ab' tokens take about 0.7 seconds to process, 700 tokens about 6 seconds, and 1400 tokens about 33 seconds. This behavior allows an attacker to craft input that significantly increases CPU consumption and blocks the event loop, impacting application availability.
Potential Impact
An attacker can cause significant CPU resource exhaustion and event-loop blocking by providing specially crafted input with many '%' tokens. This leads to denial of service conditions in applications using vulnerable versions of decode-uri-component, potentially degrading or halting service responsiveness.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is currently documented. Users should monitor vendor communications for updates and consider implementing input validation or rate limiting as temporary mitigations to reduce exposure to crafted inputs causing excessive CPU consumption.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- seal
- Date Reserved
- 2026-05-13T12:03:13.545Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a43807627e9c79719689bd6
Added to database: 06/30/2026, 08:38:14 UTC
Last enriched: 07/07/2026, 12:01:20 UTC
Last updated: 08/14/2026, 00:41:12 UTC
Views: 71
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.