CVE-2026-129232
NLTK denial of service in XML corpus reader
An unauthenticated attacker can send a deeply nested XML file to max out CPU and stall a processing worker.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-129232 divulgada · CVSS 5.3 (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 |
NLTK, a Python toolkit for natural language processing, has a flaw in its XML corpus reader that can make it consume excessive CPU when processing deeply nested XML corpus files. An attacker can trigger this remotely, without logging in, by supplying such a file, which can tie up a processing worker and cause a denial of service.
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, XMLCorpusView.read_block rebuilds the full root-to-node context path with "/".join(context) for every start tag while searching for a matching element. Deeply nested attacker-influenced corpus XML therefore causes quadratic pure-Python work and can pin a processing worker, resulting in denial of service. This issue is fixed in version 3.10.4.
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-cj8f-5fp3-6m88https://github.com/nltk/nltk/pull/3895https://github.com/nltk/nltk/commit/002bcf714ef8cb8baf94436f4be73e5516914412https://github.com/nltk/nltk/releases/tag/v3.10.4Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
