CVE-2026-118664 decode-uri-component: Denial of service via quadratic replacement of percent-encoded runs
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Red Hat
Description
decode-uri-component provides a more robust alternative to decodeURIComponent. Prior to 0.5.1, decodeUriComponent in index.js falls back to customDecodeURIComponent after native decoding throws, and the fallback collects every distinct percent-encoded run before performing a full-string regular-expression replacement for each entry. Malformed input containing many distinct runs can therefore make both the number of replacements and the scanned input length grow together, causing quadratic CPU consumption and blocking the Node.js event loop; request-body inputs can reach the demonstrated size, while ordinary URL header limits reduce the practical delay. This issue is fixed in version 0.5.1.
Upgrade path
10 packages: 1 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/openshift4/ose-console-rhel9(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift5/ose-console-rhel9(Red Hat openshift 5) | All versions | No fix listed | No fix yet |
| redhat/quay/quay-rhel8(Red Hat quay 3) | All versions | No fix listed | No fix yet |
| redhat/rhceph/rhceph-4-dashboard-rhel8(Red Hat ceph_storage 4) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-feature-server-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhosdt/tempo-jaeger-query-rhel9:1793703190(Red Hat openshift_distributed_tracing 3.11 el9) | All versions | No fix listed | No fix yet |
| redhat/satellite/iop-vulnerability-frontend-rhel9:1794343743(Red Hat satellite 6.19 el9) | All versions | No fix listed | No fix yet |
| redhat/satellite/iop-vulnerability-frontend-rhel9:1794346283(Red Hat satellite 6.18 el9) | All versions | No fix listed | No fix yet |
| npm decode-uri-component(npm) | < 0.5.1; <= 0.5.0 | 0.5.1 | Fixed |
| SamVerschueren decode-uri-component | = < 0.5.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| SamVerschueren decode-uri-component | = < 0.5.1 | No fix listed |
| npm decode-uri-component(npm) | <= 0.5.0 | No fix listed |
| redhat/rhosdt/tempo-jaeger-query-rhel9:1793703190(Red Hat:openshift_distributed_tracing:3.11::el9) | All versions | No fix listed |
| redhat/satellite/iop-vulnerability-frontend-rhel9:1794346283(Red Hat:satellite:6.18::el9) | All versions | No fix listed |
| redhat/satellite/iop-vulnerability-frontend-rhel9:1794343743(Red Hat:satellite:6.19::el9) | All versions | No fix listed |
| redhat/rhceph/rhceph-4-dashboard-rhel8(Red Hat:ceph_storage:4) | All versions | No fix listed |
| redhat/rhoai/odh-feature-server-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/openshift4/ose-console-rhel9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift5/ose-console-rhel9(Red Hat:openshift:5) | All versions | No fix listed |
| redhat/quay/quay-rhel8(Red Hat:quay:3) | All versions | No fix listed |
| npm decode-uri-component(npm) | < 0.5.1 | 0.5.1 |
References
- Red Hat CVE page vendor-advisory
- RHSA-2026:94580 patch vendor-advisory
- Red Hat Bugzilla 2563616 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/SamVerschueren/decode-uri-component/commit/fad01d65b93bd3f2f0dc32dfd8d57a38b57bc608 patch
- https://github.com/SamVerschueren/decode-uri-component/releases/tag/v0.5.1
- https://github.com/SamVerschueren/decode-uri-component/security/advisories/GHSA-qr28-fpjm-wq7f vendor-advisory
- github.com
- RHSA-2026:100147 patch vendor-advisory
- RHSA-2026:100140 patch vendor-advisory
- github.com product
- ENISA EUVD EUVD-2026-112471 third-party-advisory