NLTK advisory flags stack-exhaustion crash in WordNet tree() methods
GitHub Advisory Database has published GHSA-8846-p9w9-5frf (CVE-2026-129223) for the Natural Language Toolkit. Synset.tree() and Synset.acyclic_tree() recurse without a default depth limit, which can crash a process on long relation chains. The advisory says exploitation needs a custom WordNet-format resource, and fixed versions are available in nltk 3.10.4.
GitHub has published an advisory for the Natural Language Toolkit (NLTK) describing a denial-of-service flaw in its WordNet reader. According to the advisory, the recursive traversal behind Synset.tree() and Synset.acyclic_tree() defaults to unlimited depth. It guards against literal cycles but not against long acyclic relation chains, which can exhaust the Python call stack. [1]
The advisory stresses narrow real-world scope. It says the bundled WordNet 3.0 corpus has relation depths far below the crash threshold the author measured, so exploitation would require a host application to load a custom or foreign WordNet-format lexical resource. The author's depth measurements are the advisory's own and have not been independently reproduced by TechDots. [1]
Synset.closure() is not affected, according to the advisory, because it uses an iterative breadth-first function rather than recursion. The advisory lists pip/nltk versions up to and including 3.10.3 as affected and 3.10.4 as the fix. GitHub rates the issue high, with a CVSS score of 7.5. [1]
What we couldn't confirm
- No independent confirmation of the crash or the author's measurements has been found in this source set.
- The advisory does not state whether the flaw has been exploited in the wild; exploitation status is recorded as unknown.
- No statement from the NLTK maintainers beyond the advisory text was provided.
- The advisory text provided is truncated; the proof-of-concept details and any further remediation guidance were not fully available.
- It is unclear how many deployments load custom WordNet-format resources, so the practical reach of the flaw is not established.
Sources
- GitHub Advisory Database: GHSA-8846-p9w9-5frf (CVE-2026-129223): Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in Synset.tree()/acyclic_tree() via WordNet relation traversalSource published · TechDots found it
Statements labelled as a company's claim have not been independently confirmed by TechDots.
Get Cybersecurity stories by email
Related coverage
nginx2root: five new nginx bugs, patch now and lock origins to Cloudflare
F5 and nginx.org disclosed ten nginx vulnerabilities on November 18, 2026. Five memory corruption flaws, named nginx2root by Xint, can crash workers or run commands, and one HTTP/2 bug is the most widespread. Cloudflare says its edge is unaffected and that its proxy shields origins from the HTTP/2 and HTTP/3 attacks, but patching is still required.
Etherpad pre-auth file read flaw rated critical in GitHub advisory
GitHub Advisory Database has published an advisory for an unauthenticated file-read flaw in Etherpad's /static/* handler, affecting ep_etherpad-lite versions 1.8.14 up to 3.3.3 and fixed in 3.3.3. The advisory rates it critical, CVSS 9.8.
baserCMS 5.2.3 patch for CVE-2026-30940 can be bypassed, advisory says
A GitHub Advisory Database entry says the baserCMS 5.2.3 fix for CVE-2026-30940 is incomplete. The advisory says an authenticated administrator can bypass it to write files and possibly execute code. The advisory lists 5.3.0 as the fixed release.
Critical unauthenticated SQL injection in Daptin via sort parameter; upgrade to 0.12.30
GitHub Advisory Database has published GHSA-hq2p-f2vj-v3cm (CVE-2026-77367), an unauthenticated SQL injection in Daptin affecting versions up to 0.12.29. The advisory rates it critical and says version 0.12.30 contains the fix.