- Home
- Vulnerabilities
- CVE-2026-129227
CVE-2026-129227
NLTK: Uncontrolled recursion in Tree.fromlist causes denial of service via deeply nested list input
Low
35/100
Summary
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, Tree.fromlist recursively converts nested Python list input into Tree objects without enforcing a maximum tree depth. An attacker-controlled list nested beyond the interpreter recursion limit can raise RecursionError and terminate the current parse operation or request worker. This issue is fixed in version 3.10.4.
Affected products and versions
Nltk (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Nltk | Versions not specified | — | CNA (vendor or assigner) |
Pypi (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| nltk | before 3.10.4 (excluded) |
3.10.4 |
GitHub Advisory |
Fix
Upgrade — PyPI/nltk 3.10.4official source
Source : GitHub Advisory
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
CERT-FR advisories
- GHSA-63wh-5r5m-wxr7 — NLTK: Uncontrolled recursion in Tree.fromlist causes denial of service via deeply nested list input 19 Nov 2026
References
- https://github.com/nltk/nltk/security/advisories/GHSA-63wh-5r5m-wxr7x_refsource_CONFIRM
- https://github.com/nltk/nltk/pull/3885x_refsource_MISC
- https://github.com/nltk/nltk/commit/ae4c5c900a81608026a43bd4ed17ff048c447c8cx_refsource_MISC
- https://github.com/nltk/nltk/releases/tag/v3.10.4x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-129227ADVISORY
- https://github.com/nltk/nltkPACKAGE
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L(CVSS 3.1, CNA:GitHub_M)- Weakness
- CWE-674 · Autre (CWE-674)