CVE-2026-129222 json
Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in DependencyGraph.tree()/triples()
published 6d ago modified yesterday also EUVD-2026-130430 , GHSA-rh8m-wqhc-qmrf
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
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, DependencyGraph.tree and DependencyGraph.triples walk parsed dependency edges through unbounded Python recursion and do not use a working cycle or depth guard. A crafted CoNLL or Malt-TAB dependency file containing a sufficiently long chain can raise RecursionError when the documented traversal APIs are called, aborting the current worker. This issue is fixed in version 3.10.4.
Patch / fix
- pypi nltk 3.10.4
- github.com/nltk/nltk@a746827 commit
- github.com/nltk/nltk#3885 pull request
- github.com/nltk/nltk/releases/tag/v3.10.4 release
Is CVE-2026-129222 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- yesterday
Exploit prediction
0.57% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-21).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | nltk | <3.10.4 |
3.10.4 |
Affected products
- nltk nltk
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
References
-
github.com
/nltk/nltk/pull/3885
web
-
github.com
/nltk/nltk/commit/a74682757cee8c11128ad277d2f2bd0b8e1884ff
web
-
github.com
/nltk/nltk/security/advisories/GHSA-rh8m-wqhc-qmrf
web, advisory
-
github.com
/nltk/nltk/releases/tag/v3.10.4
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-129222
advisory
-
github.com
/nltk/nltk
package
Sources
- CVE List CVE-2026-129222
- GitHub Advisory GHSA-rh8m-wqhc-qmrf
- NVD CVE-2026-129222
- Maintainer advisory GHSA-rh8m-wqhc-qmrf
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of nltk/nltk published their own advisory on GitHub. Reviewed sources take precedence over it.