llamaCVEVulnerability Intelligence
/
NLTK

CVE-2026-126299

NLTK quadratic-time denial of service in CCG lexicon parser

Attackers can submit crafted lexicon text with long bracket bodies to max out CPU and block worker threads.

UnclearParche disponibledenial of service
Descargar PNG JSON
CVSS 4.0
8.7
Alta
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión3.10.4
Exposición6 dDesde la divulgación, 13 nov 2026, 4:36 a. m.
Detección9 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Monitoreo
Detectada +3
Verificada
13 nov 26
16 nov 26
19 nov 26
13 nov 26
14 nov 26
16 nov 26
18 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-126299 divulgada · CVSS 8.7 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen

NLTK before 3.10.4 contains a denial of service vulnerability in the CCG lexicon parser fromstring that allows remote attackers to exhaust CPU by supplying wide inputs. Attackers can submit lexicon text with long flat bracket bodies or operator chains, triggering quadratic string re-slicing in matchBrackets and augParseCategory that blocks worker threads.

Only affects nltk 3.10.3 and older in applications that pass attacker-influenced lexicon text to nltk.ccg.lexicon.fromstring. Fixed in 3.10.4.

¿Qué significa?Parsing a crafted CCG lexicon string with nltk.ccg.lexicon.fromstring can keep one CPU thread busy for a long time. This exhausts worker threads and causes a denial of service. Confidentiality and integrity are not affected.
¿Quién está afectado?nltk 3.10.3 and older are affected, and 3.10.4 fixes it. The issue applies only where an application calls nltk.ccg.lexicon.fromstring on lexicon text that an outside party can influence. To check the installed version, run python -c "import nltk; print(nltk.__version__)" or pip show nltk.
¿Qué hacer?Upgrade nltk to 3.10.4 or later, which is the listed fixed version. The sources name no separate vendor patch identifiers.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affected nltk versions are 3.10.3 and older (fixed in 3.10.4).“Confirmed affected range: <= 3.10.3”
02
The application calls the CCG lexicon parser nltk.ccg.lexicon.fromstring on lexicon text that an attacker can influence.“An application calls the public nltk.ccg.lexicon.fromstring(lex_str)”
¿Quién debe revisar?Teams running nltk 3.10.3 or older that parse CCG lexicon text with nltk.ccg.lexicon.fromstring on input users can influence, such as web services.
No protegeThe NLTK regex wall-clock timeout does not protect against this bug.
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:N
AltoBajoNinguno
Integridad (sistema)VI:N
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
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-89p3-fcch-88ph
Otrahttps://www.vulncheck.com/advisories/nltk-before-3.10.4-quadratic-time-denial-of-service-via-ccg-lexicon-fromstring

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