llamaCVEVulnerability Intelligence
/
Python Software Foundation CPython

CVE-2026-15308

Python Software Foundation denial of service in HTMLParser feed()

An attacker can send repeated unterminated markup declarations to exhaust CPU when untrusted HTML is parsed.

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ónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche6 versiones3.10.21 · 3.11.16 · 3.12.14 · 3.13.15 …
Exposición132 dDesde la divulgación, 9 jul 2026, 12:10 p. m.
Detección116 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Modificada
Explotación
Remediación
Monitoreo
Detectada
Fuente: OSV
Verificada
9 jul 26
3 nov 26
10 nov 26
16 nov 26
19 nov 26
9 jul 26
11 ago 26
14 sept 26
17 oct 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-15308 divulgada · CVSS 8.7 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Monitoreo Detectada Ingresó al índice
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

The incremental HTML parser (html.parser.HTMLParser) allows for CPU denial-of-service through repeated unterminated markup declarations when processing uncontrolled data.

Affects CPython releases before the per-branch fixes when HTMLParser's incremental feed() handles uncontrolled input. Fixed in 3.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7, and 3.15.0b4.

¿Qué significa?Repeated unterminated markup declarations fed to the incremental html.parser.HTMLParser feed() method can make the parser use excessive CPU time, causing a denial of service. The advisory describes this as resource exhaustion.
¿Quién está afectado?The CVE record lists all versions before Python 3.15.0 as affected, and the affected code path is use of HTMLParser's feed() interface on uncontrolled data. To check a setup, run python --version to see the interpreter version and search the code for html.parser or HTMLParser with feed() calls.
¿Qué hacer?Upgrade to the fixed release for your branch: 3.10.21, 3.11.16, 3.12.14, 3.13.15, or 3.14.7, or 3.15.0b4 for the 3.15 line. The facts provide no workaround.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Uses the incremental HTMLParser feed() interface (html.parser.HTMLParser) on uncontrolled data“The incremental HTML parser (html.parser.HTMLParser) allows for CPU”
02
Affected versions per CVE record: all versions before Python 3.15.0“versions before Python 3.15.0 as affected.”
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
CPython · libpython · python · python-min< 3.10.21
CPython · libpython · python · python-min≥ 3.11.0 < 3.11.16
CPython · libpython · python · python-min≥ 3.12.0 < 3.12.14
CPython · libpython · python · python-min≥ 3.13.0 < 3.13.15
CPython · libpython · python · python-min≥ 3.14.0 < 3.14.7
CPython≥ 3.15.0a1 < 3.15.0b4
3.10.21
3.11.0
3.11.16
3.12.0
3.12.14
3.13.0
3.13.15
3.14.0
3.14.7
3.15.0a1
3.15.0b4
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
CPython
Corregida 3.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7, 3.15.0b4 — —
libpython
Corregida 3.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7 — —
python
Corregida 3.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7 — —
Versiones corregidas3.10.213.11.163.12.143.13.153.14.73.15.0b4
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Registro
EscenarioGENERALPSF
Referencias
Fabricantehttps://mail.python.org/archives/list/security-announce@python.org/thread/F6453LWKSHKCTWFLCOURWPLETNUIW2Z5/
Parchehttps://github.com/python/cpython/pull/153031
Parchehttps://github.com/python/cpython/commit/07efb08123ba9367a7107325adb9d5626dca1ca9
Parchehttps://github.com/python/cpython/commit/7933f4bf7131aa4140750f9404f5de0aa2969ced
Parchehttps://github.com/python/cpython/commit/bcf98ddbc40ec9b3ee87da0124a5660b19b7e606
Parchehttps://github.com/python/cpython/commit/e9f92ac0b298292e7ff998e52cb8ccacfb27a0bd
Parchehttps://github.com/python/cpython/commit/785df8f743800661961528970f8598edcd291c14
Parchehttps://github.com/python/cpython/commit/1e7956f1a722df9aabc509c30f8fbdc3a2b4fdc7
Parchehttps://github.com/python/cpython/commit/c2390b9376e35a701ed3acc597b8fc87546c9b00
Análisishttp://www.openwall.com/lists/oss-security/2026/07/09/4
Reportehttps://github.com/python/cpython/issues/153030
Otrahttps://cert-portal.siemens.com/productcert/html/ssa-457936.html

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