nltk: Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in Synset.tree()/acyclic_tree() via WordNet relation traversal
High severity. CVE-2026-129223. ### Summary The recursive traversal engines behind WordNetCorpusReader's Synset.tree() and Synset.acyclic_tree() have no maximum call-depth safeguard and default to unlimited depth. They guard against literal cycles, but not against a long, genuinely acyclic relation chain — which exhau…
CVEs in this story
Timeline 11
Every report on this story, plus its CVEs, exploit code and scanner detection, newest first.
Wed, Nov 25, 2026
- DetectionTenable Cloud Security plugin 480937: SCA: security update for nltk (GHSA-rh8m-wqhc-qmrf)Tenable
- DetectionTenable Container Security plugin 480937: SCA: security update for nltk (GHSA-rh8m-wqhc-qmrf)Tenable
- DetectionTenable Cloud Security plugin 480954: SCA: security update for nltk (GHSA-8846-p9w9-5frf)Tenable
- DetectionTenable Container Security plugin 480954: SCA: security update for nltk (GHSA-8846-p9w9-5frf)Tenable
Mon, Nov 23, 2026
- Exploit codegooglesky/CVE-2026-129223: NLTK: acyclic WordNet traversal defaults to unlimited depth — long acyclic chain crashes Synset.tree() with RecursionError. Verbatim depth cap from 0e474a7d: crash on vuln, capped traversal on fixedGitHub (unverified) · 20:00 UTC
- DetectionNessus plugin 385245: Linux Distros Unpatched Vulnerability : CVE-2026-129222Tenable
- DetectionNessus plugin 385232: Linux Distros Unpatched Vulnerability : CVE-2026-129223Tenable
Thu, Nov 19, 2026
- Researchnltk: Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in DependencyGraph.tree()/triples()GitHub Advisories · 23:53 UTC
- Researchnltk: Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in Synset.tree()/acyclic_tree() via WordNet relation traversalGitHub Advisories · 23:53 UTC
- CVECVE-2026-129222 published (CVSS 7.5)CVE Program · 18:18 UTC
- CVECVE-2026-129223 published (CVSS 7.5)CVE Program · 18:18 UTC