- Accueil
- Vulnérabilités
- CVE-2026-116795
CVE-2026-116795
RE2JS: Quadratic-time denial of service in re2js lookbehind matching
Résumé
RE2JS is the JavaScript port of RE2, a regular expression engine that provides linear time matching. From 2.2.0 until 2.8.7, enabling LOOKBEHINDS and using repeated matching through matcher().find(), matchAll(), split(), or matcher().replaceAll() can cause quadratic total work. Machine.match restarts lookbehind scanning from offset zero for each requested start position, while Matcher-based APIs request capture slots that prevent the early exit used for captureless matching. Dense matches therefore repeatedly rescan the input, allowing attacker-influenced text to monopolize a single-threaded worker and deny service. This issue is fixed in version 2.8.7.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
le0pard (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| re2js | Versions non précisées | — | CNA (éditeur ou attributeur) |
npm (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| re2js | de 2.2.0 (inclus) à 2.8.7 (exclu) |
2.8.7 |
GitHub Advisory |
Correctif
Mise à jour — npm/re2js 2.8.7source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Exploit signalé par les sources
Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-gg6h-894w-4m9c — RE2JS: Quadratic-time denial of service in re2js lookbehind matching 28 oct. 2026
Références
- https://github.com/le0pard/re2js/security/advisories/GHSA-gg6h-894w-4m9cexploit
- https://github.com/le0pard/re2js/pull/59x_refsource_MISC
- https://github.com/le0pard/re2js/commit/dfdd947785dfa113bdc97416375c246a39458395x_refsource_MISC
- https://github.com/le0pard/re2js/releases/tag/2.8.7x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-116795ADVISORY
- https://github.com/le0pard/re2jsPACKAGE
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, CNA:GitHub_M)- Faiblesse
- CWE-407 · Autre (CWE-407)