ADVISORIES

Vulnerability

CVE-2026-129226

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, the semantic-logic read_type parser recursively processes both halves of nested complex type strings without applying LogicParser.MAX_PARSE_DEPTH. An attacker-controlled type string or signature with excessive nesting can raise RecursionError through Type.fromstring or type-checking entry points and abort the current worker. This issue is fixed in version 3.10.4.

2 advisories report this vulnerability, across 2 ecosystems.

Medium severity All Debian 1PyPI 1

Advisories

  • DEBIAN-CVE-2026-129226

    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, the semantic-logic read_type parser…

    CVE-2026-129226 Debian Updated 22 November 2026
  • GHSA-w3pv-xfw4-ghr7

    NLTK: Uncontrolled recursion in semantic-logic type parser causes denial of service via nested type strings

    Moderate CVE-2026-129226 PyPI Updated 20 November 2026

References