Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦 npm
Not in CISA KEV

CVE-2026-45822 — decode-uri-component

Fix: SamVerschueren/decode-uri-component@fa479da

CVE-2026-45822 is a Uncontrolled Resource Consumption vulnerability in decode-uri-component. A fix is available for decode-uri-component — see the affected versions and patch details below.

decode-uri-component: Denial of service via exponential decoding of malformed percent-encoded input

Also known asGHSA-vcc3-ghjq-m6fr
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Oct 8, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2026-45822.

EPSS Exploitation Probability

via FIRST.org ↗
0.5%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs41th percentile — riskier than 41% of all scored CVEsHighest risk
0.00%0.34%0.67%1.01%0.3%0.3%0.5%0.5%0.5%Jul 26Sep 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

Real-World Exposure

1 pkg affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

867other npm packages depend on this — each one inherits the vulnerability until it's patched upstream
decode-uri-componentnpm
34.2Mdownloads / week

Description

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 [email protected].

Workarounds

Limit the size of the input.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
📦npmdecode-uri-componentall versions0.5.0npm install decode-uri-component@0.5.0

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for decode-uri-component, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update decode-uri-component to 0.5.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-45822 is resolved across your whole dependency graph.

  3. Workarounds

    Stop feeding it untrusted input: reject or quarantine files and payloads from unverified sources until you can upgrade, restrict accepted formats to the ones you actually need, and run the parsing or decoding step in a least-privileged sandbox or short-lived worker so a crash or corrupted read cannot reach the rest of the process.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatImportant

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…

Workaround published by Red Hat
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.
Source: Red Hat security advisory for CVE-2026-45822 (CC BY 4.0)
ProductFixed inAdvisory
Red Hat Migration Toolkit 1.8rhmtc/openshift-migration-ui-rhel8:1783690532RHSA-2026:41928
Red Hat Quay 3.10quay/quay-rhel8:1783750447RHSA-2026:41031
Red Hat Quay 3.12quay/quay-rhel8:1783751865RHSA-2026:42146
Red Hat Quay 3.12quay/quay-rhel8:1784353904RHSA-2026:43052
Red Hat Quay 3.15quay/quay-rhel8:1785261506RHSA-2026:48933
Red Hat Quay 3.16quay/quay-rhel9:1783955846RHSA-2026:41066
Red Hat Quay 3.9quay/quay-rhel8:1784125838RHSA-2026:40262
Red Hat Satellite 6.18satellite/iop-vulnerability-frontend-rhel9:1785762027RHSA-2026:51348

Frequently Asked Questions

### 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 `[email protected]`. ### Workarounds Limit the size of the input.
O3 Security · Impact-Aware SCA

Is CVE-2026-45822 in your dependencies?

Find it across npm, including transitive dependencies.

CVE-2026-45822: decode-uri RCE — Fixed in 0.5.0