CVE-2026-129222
NLTK denial of service via recursion in DependencyGraph.tree()
An unauthenticated attacker can crash a calling process by supplying a crafted dependency file.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-129222 divulgada · CVSS 7.5 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Natural Language Toolkit (NLTK), a Python library for natural language processing, has an uncontrolled recursion flaw in its dependency graph tree and triples functions. A crafted CoNLL or Malt-TAB dependency file with a long enough chain can crash the process that calls these functions, and an attacker can trigger this remotely without logging in.
Affects NLTK when a crafted CoNLL or Malt-TAB dependency file with a long chain of linked tokens is loaded and .tree() or .triples() is then called on the graph. Fixed in 3.10.4.
Descripción original del registro (GitHub_M)
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.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
nltk |
Corregida | 3.10.4 | — | — |
3.10.4Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/nltk/nltk/security/advisories/GHSA-rh8m-wqhc-qmrfhttps://github.com/nltk/nltk/pull/3885https://github.com/nltk/nltk/commit/a74682757cee8c11128ad277d2f2bd0b8e1884ffhttps://github.com/nltk/nltk/releases/tag/v3.10.4Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
