llamaCVEVulnerability Intelligence
/
NLTK

CVE-2026-129223

NLTK denial of service via recursion in WordNet tree traversal

A remote attacker who can shape a WordNet-format data file an app loads can crash it, with no login needed.

Specific setups onlyParche 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 evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión3.10.4
Exposición12 hDesde la divulgación, 19 nov 2026, 1:00 p. m.
Detección7 minDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +2
01:00 p. m.
01:04 a. m.
01:00 p. m.
04:01 p. m.
07:02 p. m.
10:03 p. m.
01:04 a. m.
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-129223 divulgada · CVSS 7.5 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 19 nov 2026

Natural Language Toolkit (NLTK) is affected. An attacker who can influence a custom or foreign WordNet-format resource that an application loads can make deep recursion in `Synset.tree()` and `acyclic_tree()` crash the traversal or worker, causing a denial of service. The attack can be launched remotely, without logging in and without any user action.

Only affects NLTK applications that load a custom or foreign WordNet-format resource and call Synset.tree() or Synset.acyclic_tree() with the default unbounded depth. Fixed in NLTK 3.10.4.

¿Qué significa?A long chain of WordNet relations that does not loop back on itself can make the tree traversal recurse too deeply. Python then raises an unhandled RecursionError, which can crash the traversal or the worker process.
¿Quién está afectado?Affected setups are NLTK versions before 3.10.4 where the application loads a custom or foreign WordNet-format lexical resource instead of NLTK's bundled default corpus, and calls Synset.tree() or Synset.acyclic_tree() without a depth limit. Check the installed version with pip show nltk, and search the code for calls to .tree( or .acyclic_tree( on synsets. Synset.closure() is not affected.
¿Qué hacer?Upgrade NLTK to 3.10.4 or later.
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, WordNet Synset.tree and acyclic_tree traverse relation graphs through recursive utility helpers without a depth bound. Exploitation requires the host application to load an attacker-influenced custom or foreign WordNet-format lexical resource; no relation in NLTK's bundled WordNet 3.0 corpus reaches the crash threshold. An excessively deep relation graph in such a resource can exceed the Python recursion limit and terminate the traversal or request worker. This issue is fixed in version 3.10.4.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
The host application loads a custom or foreign WordNet-format lexical resource rather than NLTK's bundled default corpus.“requires the host application to load a custom/foreign WordNet-format lexical resource rather than NLTK's bundled default corpus”
02
The application calls Synset.tree() or Synset.acyclic_tree() with the default unbounded depth; .closure() is not affected.“Only .tree() and .acyclic_tree() are affected”
¿Quién debe revisar?Teams running NLTK 3.10.3 or earlier that load custom or foreign WordNet-format lexical resources and call Synset.tree() or Synset.acyclic_tree()
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-8846-p9w9-5frf
Otrahttps://github.com/nltk/nltk/commit/0e474a7d73c95b42aa2c792f364e4f9bf4096c56
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.