cve.bz

CVE-2026-45822 samverschueren decode-uri-component: Uncontrolled Resource Consumption

6.6 mediumEPSS 0.5%Fix available

Medium (6.6) in samverschueren decode-uri-component. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in decode-uri-component 0.5.0.

On this page
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.

Severity

CVSS 4.0

6.6 medium
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
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 44th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-06-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-407 Inefficient Algorithmic Complexity
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • decode-uri-component (npm): fixed in 0.5.0

Ask an AI about this CVE

Show the promptExplain CVE-2026-45822 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-45822?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-45822?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-45822 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
SamVerschueren decode-uri-componentfrom 0.1.0 before 0.5.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vcc3-ghjq-m6frnpmdecode-uri-component<0.5.00.5.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 2 morenode-source-map-resolveno fix listedUBUNTU-CVE-2026-45822
Azure Linux3js-jqueryno fix listedAZL-92075

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

A denial of service flaw was found in the decode-uri-component npm package. The decode() function exhibits super-linear time complexity when processing input containing many percent-encoded sequences, allowing an attacker to cause significant CPU consumption and event-loop blocking. In Red Hat products where this package is bundled (OpenShift Console, Quay, Pipelines, RHOAI, and others), exploitation requires that attacker-controlled input containing crafted percent-encoded strings reaches the decode() function without prior length validation. Red Hat rates this as Moderate severity since the impact is limited to availability with no confidentiality or integrity impact, consistent with the CNA's CVSS 4.0 assessment of 6.6 Medium.

Red Hat's mitigation

Validate and limit the length of any user-controlled input before passing it to decode-uri-component's decode() function. Inputs containing more than approximately 200 percent-encoded tokens (e.g. '%ab' sequences) can trigger noticeable delays. Reject or truncate URI components exceeding a reasonable length threshold before decoding. A fix exists in the upstream repository (commit fa479daf) but has not yet been included in an npm release.

ProductPackageStateAdvisory
Red Hat Migration Toolkit 1.8rhmtc/openshift-migration-ui-rhel8:1783690532Fixed 2026-07-20RHSA-2026:41928
Red Hat Quay 3.10quay/quay-rhel8:1783750447Fixed 2026-07-16RHSA-2026:41031
Red Hat Quay 3.12quay/quay-rhel8:1783751865Fixed 2026-07-20RHSA-2026:42146
Red Hat Quay 3.12quay/quay-rhel8:1784353904Fixed 2026-07-21RHSA-2026:43052
Red Hat Quay 3.15quay/quay-rhel8:1785261506Fixed 2026-07-30RHSA-2026:48933
Red Hat Quay 3.16quay/quay-rhel9:1783955846Fixed 2026-07-16RHSA-2026:41066
Red Hat Quay 3.9quay/quay-rhel8:1784125838Fixed 2026-07-15RHSA-2026:40262
Red Hat Satellite 6.18satellite/iop-vulnerability-frontend-rhel9:1785762027Fixed 2026-08-06RHSA-2026:51348
Red Hat Satellite 6.19satellite/iop-vulnerability-frontend-rhel9:1785937325Fixed 2026-08-06RHSA-2026:51197
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-pf5-rhel9Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel9Affected
Red Hat 3scale API Management Platform 23scale-amp21/systemNot affected
Red Hat 3scale API Management Platform 23scale-amp22/systemNot affected
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel7Not affected
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel8Affected
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel9Not affected
Red Hat build of Apache Camel for Spring Boot 4decode-uri-componentNot affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 8pcsNot affected
Red Hat Enterprise Linux 9gjsNot affected
10 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-45822.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON