Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-45822: CWE-400 Uncontrolled Resource Consumption in SamVerschueren decode-uri-component

0
Medium
VulnerabilityCVE-2026-45822cvecve-2026-45822cwe-400cwe-407
Published: 06/30/2026 (06/30/2026, 08:05:36 UTC)
Source: CVE Database V5
Vendor/Project: SamVerschueren
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
Scope
N
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/S:N/AU:Y/R:U/V:D/RE:M/U:Amber

Affected software

decode-uri-component
pkg:npm/decode-uri-component
Affected versions
=0.1.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/30/2026, 08:51:20 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses