llamaCVEVulnerability Intelligence
/
NLTK

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.

Default setupsParche disponibledenial of service
Descargar PNG JSON
CVSS 3.1
7.5
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión3.10.4
Exposición14 hDesde la divulgación, 19 nov 2026, 12:25 p. m.
Detección7 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada
Fuente: NIST NVD
Verificada
12:25 p. m.
01:27 p. m.
03:29 p. m.
02:28 a. m.
12:25 p. m.
03:56 p. m.
07:26 p. m.
10:57 p. m.
02:28 a. m.
FechaFaseEventoDetalle
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
Resumen
Resumen generado por IA · CC-BY 4.0 · 19 nov 2026

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.

¿Qué significa?Calling .tree() or .triples() on a parsed dependency graph recurses too deeply when the graph is a long chain of linked tokens. This raises an unhandled RecursionError that crashes the process or worker.
¿Quién está afectado?The affected package is nltk, in versions before 3.10.4. The setup is loading a CoNLL or Malt-TAB dependency file and then calling .tree() or .triples() on the resulting graph. To check an installed version, run 'pip show nltk' or 'python -c "import nltk; print(nltk.__version__)"'.
¿Qué hacer?Upgrade nltk to 3.10.4 or later, which is the fixed version listed for this vulnerability.
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.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
A crafted CoNLL or Malt-TAB dependency file with a long chain of linked tokens is loaded“A crafted dependency-parse file with a few thousand chained tokens”
02
The application then calls .tree() or .triples() on the parsed graph“crashes the process with an unhandled RecursionError the moment .tree() or .triples() is called”
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
nltk< 3.10.4
3.10.4
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
nltk
Corregida 3.10.4 — —
Versiones corregidas3.10.4
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

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

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.