llamaCVEVulnerability Intelligence
/
NLTK

CVE-2026-126303

NLTK denial of service in SteppingRecursiveDescentParser.parse()

An attacker who controls the grammar can send a short input that makes parsing run forever, pinning CPU cores.

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-126303 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 an uncontrolled resource consumption vulnerability in SteppingRecursiveDescentParser.parse() that lacks any max_time deadline or step limit. Attackers influencing the grammar can supply an ambiguous self-embedding grammar and short token input to force unbounded top-down search, pinning CPU cores and exhausting worker pools.

Affects NLTK before 3.10.4 when a caller uses SteppingRecursiveDescentParser.parse() on a grammar or input that an actor can influence. Fixed in 3.10.4.

¿Qué significa?A single parse() call on SteppingRecursiveDescentParser can be forced to never return, pinning a CPU core and exhausting worker pools. This denies service to legitimate users.
¿Quién está afectado?NLTK versions before 3.10.4 are in scope, and the issue needs a caller that uses SteppingRecursiveDescentParser.parse() on untrusted input or on a grammar an actor can influence. To check a setup, run pip show nltk or print nltk.__version__, and search the code for SteppingRecursiveDescentParser.
¿Qué hacer?Upgrade NLTK to 3.10.4 or later, which is the fixed version in the product range.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
A caller uses SteppingRecursiveDescentParser.parse() on a grammar or input that an actor can influence.“An actor who can influence the grammar and supply a short input to a caller that uses this parser can force a single parse() call”
02
The target actually uses this parser on untrusted input.“Exploitation requires that the target actually use this parser on untrusted input”
¿Quién debe revisar?Teams running nltk 3.10.3 or earlier, including anyone on PyPI nltk, that call SteppingRecursiveDescentParser.parse() on grammars or input from untrusted sources.
No protegeRelying on the base RecursiveDescentParser max_time does not cover the stepping parser.
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-8fx7-8jr8-84rv
Otrahttps://www.vulncheck.com/advisories/nltk-before-3.10.4-denial-of-service-via-steppingrecursivedescentparser-parse

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