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…
EPSS 0.3%top 78%

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

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

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: 07/07/2026, 12:01:20 UTC

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.

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: 07/07/2026, 12:01:20 UTC

Last updated: 08/14/2026, 00:41:12 UTC

Views: 71

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