Vulnerability

CVE-2026-129222

highCVSS 3.1 7.5Published 19 Nov 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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, 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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /nltk/nltk/commit/a74682757cee8c11128ad277d2f2bd0b8e1884ff
  • github.com /nltk/nltk/pull/3885
  • github.com /nltk/nltk/releases/tag/v3.10.4
  • github.com /nltk/nltk/security/advisories/GHSA-rh8m-wqhc-qmrf

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning