Skip to content

CVE-2026-129223 Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in Synset.tree()/acyclic_tree() via WordNet relation traversal

HighCVSS 7.5 EPSS 0.51%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

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, WordNet Synset.tree and acyclic_tree traverse relation graphs through recursive utility helpers without a depth bound. Exploitation requires the host application to load an attacker-influenced custom or foreign WordNet-format lexical resource; no relation in NLTK's bundled WordNet 3.0 corpus reaches the crash threshold. An excessively deep relation graph in such a resource can exceed the Python recursion limit and terminate the traversal or request worker. This issue is fixed in version 3.10.4.

Upgrade path

9 packages: 1 fixed, 7 with no fix yet.

PackageAffectedFixed inStatus
debian/nltk(Debian 12) = 3.8-1; = 3.8.1-1; = 3.9.1-1; = 3.9.1-2 +6 more No fix listed No fix yet
debian/nltk(Debian 13) = 3.9.1-2; = 3.9.2-1; = 3.9.3-1; = 3.10.0-1 +3 more No fix listed No fix yet
debian/nltk(Debian 14) = 3.9.1-2; = 3.9.2-1; = 3.9.3-1; = 3.10.0-1 +3 more No fix listed No fix yet
ubuntu/nltk(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/nltk(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/nltk(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/nltk(Ubuntu 26.10) All versions No fix listed No fix yet
pypi nltk(PyPI) < 3.10.4; <= 3.10.3; = 0.8; = 0.9 +67 more 3.10.4 Fixed
nltk = < 3.10.4 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi nltk(PyPI) <= 3.10.3 No fix listed
pypi nltk(PyPI) < 3.10.4 3.10.4
pypi nltk(PyPI) = 0.8 No fix listed
pypi nltk(PyPI) = 0.9 No fix listed
pypi nltk(PyPI) = 0.9.3 No fix listed
pypi nltk(PyPI) = 0.9.4 No fix listed
pypi nltk(PyPI) = 0.9.5 No fix listed
pypi nltk(PyPI) = 0.9.6 No fix listed
pypi nltk(PyPI) = 0.9.7 No fix listed
pypi nltk(PyPI) = 0.9.8 No fix listed
pypi nltk(PyPI) = 0.9.9 No fix listed
pypi nltk(PyPI) = 2.0.1 No fix listed
pypi nltk(PyPI) = 2.0.1rc1 No fix listed
pypi nltk(PyPI) = 2.0.1rc2-git No fix listed
pypi nltk(PyPI) = 2.0.1rc3 No fix listed
pypi nltk(PyPI) = 2.0.1rc4 No fix listed
pypi nltk(PyPI) = 2.0.2 No fix listed
pypi nltk(PyPI) = 2.0.3 No fix listed
pypi nltk(PyPI) = 2.0.4 No fix listed
pypi nltk(PyPI) = 2.0.5 No fix listed
pypi nltk(PyPI) = 2.0b4 No fix listed
pypi nltk(PyPI) = 2.0b5 No fix listed
pypi nltk(PyPI) = 2.0b6 No fix listed
pypi nltk(PyPI) = 2.0b7 No fix listed
pypi nltk(PyPI) = 2.0b8 No fix listed
Show 75 more
ProductAffected versionsFixed in
pypi nltk(PyPI) = 2.0b9 No fix listed
pypi nltk(PyPI) = 3.0.0 No fix listed
pypi nltk(PyPI) = 3.0.0b1 No fix listed
pypi nltk(PyPI) = 3.0.0b2 No fix listed
pypi nltk(PyPI) = 3.0.1 No fix listed
pypi nltk(PyPI) = 3.0.2 No fix listed
pypi nltk(PyPI) = 3.0.3 No fix listed
pypi nltk(PyPI) = 3.0.4 No fix listed
pypi nltk(PyPI) = 3.0.5 No fix listed
pypi nltk(PyPI) = 3.1 No fix listed
pypi nltk(PyPI) = 3.10.0 No fix listed
pypi nltk(PyPI) = 3.10.1 No fix listed
pypi nltk(PyPI) = 3.10.2 No fix listed
pypi nltk(PyPI) = 3.10.3 No fix listed
pypi nltk(PyPI) = 3.2 No fix listed
pypi nltk(PyPI) = 3.2.1 No fix listed
pypi nltk(PyPI) = 3.2.2 No fix listed
pypi nltk(PyPI) = 3.2.3 No fix listed
pypi nltk(PyPI) = 3.2.4 No fix listed
pypi nltk(PyPI) = 3.2.5 No fix listed
pypi nltk(PyPI) = 3.3 No fix listed
pypi nltk(PyPI) = 3.4 No fix listed
pypi nltk(PyPI) = 3.4.1 No fix listed
pypi nltk(PyPI) = 3.4.2 No fix listed
pypi nltk(PyPI) = 3.4.3 No fix listed
pypi nltk(PyPI) = 3.4.4 No fix listed
pypi nltk(PyPI) = 3.4.5 No fix listed
pypi nltk(PyPI) = 3.5 No fix listed
pypi nltk(PyPI) = 3.5b1 No fix listed
pypi nltk(PyPI) = 3.6 No fix listed
pypi nltk(PyPI) = 3.6.1 No fix listed
pypi nltk(PyPI) = 3.6.2 No fix listed
pypi nltk(PyPI) = 3.6.3 No fix listed
pypi nltk(PyPI) = 3.6.4 No fix listed
pypi nltk(PyPI) = 3.6.5 No fix listed
pypi nltk(PyPI) = 3.6.6 No fix listed
pypi nltk(PyPI) = 3.6.7 No fix listed
pypi nltk(PyPI) = 3.7 No fix listed
pypi nltk(PyPI) = 3.8 No fix listed
pypi nltk(PyPI) = 3.8.1 No fix listed
pypi nltk(PyPI) = 3.9 No fix listed
pypi nltk(PyPI) = 3.9.1 No fix listed
pypi nltk(PyPI) = 3.9.2 No fix listed
pypi nltk(PyPI) = 3.9.3 No fix listed
pypi nltk(PyPI) = 3.9.4 No fix listed
pypi nltk(PyPI) = 3.9b1 No fix listed
nltk = < 3.10.4 No fix listed
debian/nltk(Debian:12) All versions No fix listed
debian/nltk(Debian:12) = 3.10.0-1 No fix listed
debian/nltk(Debian:12) = 3.10.1-1 No fix listed
debian/nltk(Debian:12) = 3.10.3-1 No fix listed
debian/nltk(Debian:12) = 3.8-1 No fix listed
debian/nltk(Debian:12) = 3.8.1-1 No fix listed
debian/nltk(Debian:12) = 3.9.1-1 No fix listed
debian/nltk(Debian:12) = 3.9.1-2 No fix listed
debian/nltk(Debian:12) = 3.9.2-1 No fix listed
debian/nltk(Debian:12) = 3.9.3-1 No fix listed
debian/nltk(Debian:13) All versions No fix listed
debian/nltk(Debian:13) = 3.10.0-1 No fix listed
debian/nltk(Debian:13) = 3.10.1-1 No fix listed
debian/nltk(Debian:13) = 3.10.3-1 No fix listed
debian/nltk(Debian:13) = 3.9.1-2 No fix listed
debian/nltk(Debian:13) = 3.9.2-1 No fix listed
debian/nltk(Debian:13) = 3.9.3-1 No fix listed
debian/nltk(Debian:14) All versions No fix listed
debian/nltk(Debian:14) = 3.10.0-1 No fix listed
debian/nltk(Debian:14) = 3.10.1-1 No fix listed
debian/nltk(Debian:14) = 3.10.3-1 No fix listed
debian/nltk(Debian:14) = 3.9.1-2 No fix listed
debian/nltk(Debian:14) = 3.9.2-1 No fix listed
debian/nltk(Debian:14) = 3.9.3-1 No fix listed
ubuntu/nltk(Ubuntu:22.04) All versions No fix listed
ubuntu/nltk(Ubuntu:24.04) All versions No fix listed
ubuntu/nltk(Ubuntu:26.04) All versions No fix listed
ubuntu/nltk(Ubuntu:26.10) All versions No fix listed

References