medium5.3
CVE-2026-129227
NLTK: Uncontrolled recursion in Tree.fromlist causes denial of service via deeply nested list input
Impact
NLTK: Uncontrolled recursion in Tree.fromlist causes denial of service via deeply nested list input
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: low risk of outages.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | nltk | <= 3.10.3 | 3.10.4 |
Affected products · Nltk
| Product | Affected versions |
|---|---|
| Nltk | before 3.10.4 Version < 3.10.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/nltk/nltk/security/advisories/GHSA-63wh-5r5m-wxr7
- https://github.com/nltk/nltk/pull/3885
- https://github.com/nltk/nltk/commit/ae4c5c900a81608026a43bd4ed17ff048c447c8c
- https://github.com/nltk/nltk/releases/tag/v3.10.4
- https://github.com/advisories/GHSA-63wh-5r5m-wxr7
- https://nvd.nist.gov/vuln/detail/CVE-2026-129227