Medium severity5.3NVD Advisory· Published Nov 19, 2026· Updated Nov 19, 2026
CVE-2026-129227
CVE-2026-129227
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, 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 packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
nltkPyPI | < 3.10.4 | 3.10.4 |
Affected products
1Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-63wh-5r5m-wxr7ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-129227ghsaADVISORY
- github.com/nltk/nltk/commit/ae4c5c900a81608026a43bd4ed17ff048c447c8cnvdWEB
- github.com/nltk/nltk/pull/3885nvdWEB
- github.com/nltk/nltk/releases/tag/v3.10.4nvdWEB
- github.com/nltk/nltk/security/advisories/GHSA-63wh-5r5m-wxr7nvdWEB
News mentions
0No linked articles in our index yet.