Quick answers
- Is CVE-2026-118664 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-118664 being exploited in the wild.
- How severe is CVE-2026-118664?
- High severity, with a CVSS score of 4, published 28 October 2026.
- Which products and versions are affected?
- decode-uri-component (npm) <= 0.5.0, SEMVER:introduced=0,fixed=0.5.1; Sam Verschueren Decode-Uri-Component before 0.5.1.
- Is there a fix for CVE-2026-118664?
- Yes. decode-uri-component (npm): upgrade to 0.5.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-118664 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-118664?
- Check whether you run decode-uri-component (npm) or Sam Verschueren Decode-Uri-Component at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- decode-uri-component (npm): upgrade to 0.5.1 or later
npm install decode-uri-component@0.5.1
Technical details
The vulnerability exists in index.js where the fallback decoder collects distinct percent-encoded runs and then applies a full-string regex replacement for each entry, causing quadratic time complexity. On malformed input with many distinct percent-encoded sequences, an attacker can trigger excessive CPU consumption and event loop blocking. This is fixed in version 0.5.1 by decoding percent-encoded runs in a single pass instead of repeatedly scanning the string.
Affected products
- Sam Verschueren decode-uri-component before 0.5.1
Identifiers
- CVE-2026-118664
- GHSA-qr28-fpjm-wq7f
Timeline
- 2026-10-28: disclosed
- 2026-10-23: patched