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.
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-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 |
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.
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.
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-8846-p9w9-5frfhttps://github.com/nltk/nltk/commit/0e474a7d73c95b42aa2c792f364e4f9bf4096c56https://github.com/nltk/nltk/releases/tag/v3.10.4Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
