1. Home
  2. Vulnerabilities
  3. CVE-2026-129227

CVE-2026-129227

NLTK: Uncontrolled recursion in Tree.fromlist causes denial of service via deeply nested list input

Published 19 Nov 2026 · modified 19 Nov 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

Low 35/100

Summary

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, Tree.fromlist recursively converts nested Python list input into Tree objects without enforcing a maximum tree depth. An attacker-controlled list nested beyond the interpreter recursion limit can raise RecursionError and terminate the current parse operation or request worker. This issue is fixed in version 3.10.4.

Affected products and versions

Nltk (1 line(s))
Nltk
ProductVersionsFixed inSource
Nltk Versions not specified — CNA (vendor or assigner)
Pypi (1 line(s))
Pypi
ProductVersionsFixed inSource
nltk before 3.10.4 (excluded) 3.10.4 GitHub Advisory

Fix

Upgrade — PyPI/nltk 3.10.4official source

Source : GitHub Advisory

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

CERT-FR advisories

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L (CVSS 3.1, CNA:GitHub_M)
Weakness
CWE-674 · Autre (CWE-674)

How this data is obtained and calculated