CVE-2026-45822: CWE-400 Uncontrolled Resource Consumption in SamVerschueren decode-uri-component
The decode-uri-component package up to version 0.4.1 contains a denial of service vulnerability due to uncontrolled resource consumption. The decode() function processes input by splitting on '%' and calling decodeComponents(), resulting in super-linear parsing time that can significantly increase CPU usage and block the event loop when processing crafted inputs with many '%' tokens. This vulnerability is identified as CVE-2026-45822 with a medium severity rating.
AI Analysis
Technical Summary
CVE-2026-45822 affects the decode-uri-component package by SamVerschueren, where the decode() function exhibits super-linear time complexity when parsing inputs containing many '%' tokens. Specifically, the function splits input on '%' producing N tokens and calls decodeComponents(), causing CPU usage to increase disproportionately with input size (e.g., 200 tokens take ~0.7s, 700 tokens ~6s, and 1400 tokens ~33s). This behavior allows an attacker to cause denial of service by crafting inputs that consume excessive CPU and block the event loop.
Potential Impact
An attacker can cause significant CPU consumption and event-loop blocking by supplying specially crafted input strings with many '%' tokens to the decode() function. This leads to denial of service conditions in applications using vulnerable versions of decode-uri-component, potentially degrading service availability.
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 the vendor's communications for updates and consider implementing input validation or rate limiting as temporary mitigations to reduce exposure to crafted inputs triggering high CPU usage.
CVE-2026-45822: CWE-400 Uncontrolled Resource Consumption in SamVerschueren decode-uri-component
Description
The decode-uri-component package up to version 0.4.1 contains a denial of service vulnerability due to uncontrolled resource consumption. The decode() function processes input by splitting on '%' and calling decodeComponents(), resulting in super-linear parsing time that can significantly increase CPU usage and block the event loop when processing crafted inputs with many '%' tokens. This vulnerability is identified as CVE-2026-45822 with a medium severity rating.
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
CVE-2026-45822 affects the decode-uri-component package by SamVerschueren, where the decode() function exhibits super-linear time complexity when parsing inputs containing many '%' tokens. Specifically, the function splits input on '%' producing N tokens and calls decodeComponents(), causing CPU usage to increase disproportionately with input size (e.g., 200 tokens take ~0.7s, 700 tokens ~6s, and 1400 tokens ~33s). This behavior allows an attacker to cause denial of service by crafting inputs that consume excessive CPU and block the event loop.
Potential Impact
An attacker can cause significant CPU consumption and event-loop blocking by supplying specially crafted input strings with many '%' tokens to the decode() function. This leads to denial of service conditions in applications using vulnerable versions of decode-uri-component, potentially degrading service availability.
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 the vendor's communications for updates and consider implementing input validation or rate limiting as temporary mitigations to reduce exposure to crafted inputs triggering high CPU usage.
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: 06/30/2026, 08:51:20 UTC
Last updated: 06/30/2026, 10:48:58 UTC
Views: 7
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.