- Accueil
- Vulnérabilités
- CVE-2026-129229
CVE-2026-129229
NLTK: Compile-time regex DoS in NLTK search/tokenizer sinks: quadratic regex-engine compile bypasses the match-only timeout
Résumé
NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. From 3.10.0 until 3.10.4, TokenSearcher.findall and Text.findall accept caller-controlled regular expressions with an unbounded number of capturing groups throughout the affected range. Starting in 3.10.3, nltk.redos.compile and RegexpTokenizer expose the same compile-time vector. The third-party regex engine compiles group-dense patterns with roughly quadratic cost before the match-time timeout begins, allowing a small unauthenticated request to exhaust CPU and deny service. This issue is fixed in version 3.10.4.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Nltk (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Nltk | Versions non précisées | — | CNA (éditeur ou attributeur) |
Pypi (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| nltk | de 3.10.0 (inclus) à 3.10.4 (exclu) |
3.10.4 |
GitHub Advisory |
Correctif
Mise à jour — PyPI/nltk 3.10.4source 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-32p6-cwhc-8r78 — NLTK: Compile-time regex DoS in NLTK search/tokenizer sinks: quadratic regex-engine compile bypasses the match-only timeout 19 nov. 2026
Références
- https://github.com/nltk/nltk/security/advisories/GHSA-32p6-cwhc-8r78exploit
- https://github.com/nltk/nltk/pull/3895x_refsource_MISC
- https://github.com/nltk/nltk/commit/002bcf714ef8cb8baf94436f4be73e5516914412x_refsource_MISC
- https://github.com/nltk/nltk/releases/tag/v3.10.4x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-129229ADVISORY
- https://github.com/nltk/nltkPACKAGE
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-400 · Autre (CWE-400)