NLTK: Uncontrolled recursion in CCG lexicon parser causes denial of service via deeply nested category input (nltk nltk)
En bref
- Source
- NVD
- EPSS
- EPSS 0.54 % · centile 47 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Produits affectés
- nltk · nltk
- Statut NVD
- Awaiting Analysis
Rechercher sur…
Description
NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. Prior to 3.10.4, the CCG lexicon parser's matchBrackets and augParseCategory functions recursively process nested parenthesized categories without a depth bound. An attacker-controlled lexicon string with excessive nesting can raise RecursionError through nltk.ccg.lexicon.fromstring and terminate the parse operation or request worker. This issue is fixed in version 3.10.4.
Faiblesses (CWE)
- CWE-674 — Récursion non maîtrisée
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | GitHub_M |
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | NVD · security-advisories@github.com (Secondary) |
Avis
- GHSA-3h95-x772-4765 — NLTK: Uncontrolled recursion in CCG lexicon parser causes denial of service via deeply nested category input
Références européennes
- ENISA EUVD · EUVD-2026-130498
- GCVE · GCVE-0-2026-129224
Produits affectés
| Produit | Versions affectées |
|---|---|
| nltk · nltk | affectée : < 3.10.4 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |