- Accueil
- Vulnérabilités
- CVE-2026-118664
CVE-2026-118664
decode-uri-component: Denial of service via quadratic replacement of percent-encoded runs
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
SamVerschueren (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| decode-uri-component | Versions non précisées | — | CNA (éditeur ou attributeur) |
npm (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| decode-uri-component | avant 0.5.1 (exclu) |
0.5.1 |
GitHub Advisory |
Correctif
Mise à jour — npm/decode-uri-component 0.5.1source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-qr28-fpjm-wq7f — decode-uri-component vulnerable to denial of service via quadratic replacement of percent-encoded runs 29 oct. 2026
Références
- https://github.com/SamVerschueren/decode-uri-component/security/advisories/GHSA-qr28-fpjm-wq7fx_refsource_CONFIRM
- https://github.com/SamVerschueren/decode-uri-component/commit/fad01d65b93bd3f2f0dc32dfd8d57a38b57bc608x_refsource_MISC
- https://github.com/SamVerschueren/decode-uri-component/releases/tag/v0.5.1x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-118664ADVISORY
- https://github.com/SamVerschueren/decode-uri-componentPACKAGE
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N(CVSS 4.0, CNA:GitHub_M)- Faiblesse
- CWE-400 · Autre (CWE-400)