CVE-2026-45822: Medium severity npm/decode-uri-component vulnerability

Published Jun 30, 2026
·
Updated

Impact An attacker who can supply input to decodeUriComponent() (directly or via a dependency that uses this package on URL/query/path data) can cause excessive CPU usage and application unresponsiveness. This is an availability issue; there is no known memory corruption, data disclosure, or remote code execution impact.

Patches Upgrade to decode-uri-component@0.5.0.

Workarounds Limit the size of the input.

Other sources

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.

NVD

Affected Software

3 affected componentsFixes available
npm/decode-uri-component<=0.4.1
npm/decode-uri-component<=0.4.2
0.5.0
IBM Netezza Software<=11.3.0.3-IF2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/decode-uri-component to a version that resolves this vulnerability.

    Fixed in 0.5.0
  2. Upgrade

    Upgrade decode-uri-component to a version that resolves this vulnerability.

    Fixed in 0.5.0
  3. Compensating control

    Limit the size of the input passed to decodeUriComponent()/decode() to reduce excessive CPU usage and event-loop blocking (decode splits on '%' and shows super-linear parsing time as token count increases).

Event History

Jun 30, 2026
CVE Published
via MITRE·08:05 AM
Data Sourced
via MITRE·08:05 AM
DescriptionWeakness
Data Sourced
via Red Hat·09:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·09:16 AM
DescriptionSeverityWeakness
Aug 20, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Aug 31, 2026
Advisory Published
via GitHub·10:10 PM
Data Sourced
via GitHub·10:10 PM
DescriptionWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-45822?

CVE-2026-45822 has a medium severity rating of 6.6 according to the CVSS scoring system.

2

What type of vulnerability is identified in CVE-2026-45822?

CVE-2026-45822 is a denial of service vulnerability affecting the decode-uri-component library.

3

How does CVE-2026-45822 affect performance?

CVE-2026-45822 can lead to super-linear parsing time, causing performance degradation with larger input.

4

Which software is affected by CVE-2026-45822?

The vulnerability CVE-2026-45822 affects the decode-uri-component library, specifically version 0.4.1.

5

How can I fix CVE-2026-45822?

To mitigate CVE-2026-45822, upgrade to the latest version of the decode-uri-component library where the issue is resolved.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203