llamaCVEVulnerability Intelligence
/
Python Software Foundation CPython

CVE-2026-9669

Python Software Foundation stack buffer overflow in BZ2 decompressor reuse

An attacker can crash the process by sending crafted data to a decompressor reused after an error.

UnclearParche disponiblestack buffer overflow
Descargar PNG JSON
CVSS 4.0
8.2
Alta
CVSS:4.0/AV:N/AC:H/AT:P/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.14 …
Exposición163 dDesde la divulgación, 8 jun 2026, 5:01 p. m.
Detección147 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
Remediación
Monitoreo
Detectada
Fuente: OSV
Verificada
8 jun 26
16 jun 26
3 nov 26
10 nov 26
16 nov 26
19 nov 26
8 jun 26
19 jul 26
29 ago 26
9 oct 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-9669 divulgada · CVSS 8.2 (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

bz2.BZ2Decompressor objects could be reused after a decompression error. If an application caught the resulting OSError and retried with the same decompressor, crafted input could cause the decompressor to resume from an invalid internal state and perform out-of-bounds writes to a stack buffer. This could crash the process when processing untrusted data.

¿Qué significa?After bz2.BZ2Decompressor raises a decompression error, reusing the same decompressor object can make it resume from an invalid internal state. Crafted input can then cause out-of-bounds writes to a stack buffer, which can crash the process when it handles untrusted data.
¿Quién está afectado?The bug needs an application that catches the OSError from a failed bz2 decompression and retries with the same BZ2Decompressor object. Affected releases are CPython and libpython before 3.10.21, 3.11.16, 3.12.14, 3.13.14 and 3.14.6, and CPython 3.15.0a1 through 3.15.0b2. To check a version, run python --version or python -c "import sys; print(sys.version)" in the interpreter the application uses.
¿Qué hacer?Upgrade to the fixed release for your branch: 3.10.21, 3.11.16, 3.12.14, 3.13.14, 3.14.6, or 3.15.0b3. Until then, avoid retrying with the same decompressor object after a decompression error.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Application catches the OSError from a bz2.BZ2Decompressor decompression error and retries with the same decompressor object“If an application caught the resulting OSError and retried with the same decompressor,”
02
Affected CPython versions: the CVE record lists versions affected from 0 before 3.16.0 (per oss-security forward)“The CVE record currently lists versions "affected from 0 before 3.16.0"”
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:H
BajaAlta
Requisitos de ataqueAT:P
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.14
CPython · libpython · python · python-min≥ 3.14.0 < 3.14.6
CPython≥ 3.15.0a1 < 3.15.0b3
3.10.21
3.11.0
3.11.16
3.12.0
3.12.14
3.13.0
3.13.14
3.14.0
3.14.6
3.15.0a1
3.15.0b3
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.14, 3.14.6, 3.15.0b3 — —
libpython
Corregida 3.10.21, 3.11.16, 3.12.14, 3.13.14, 3.14.6 — —
python
Corregida 3.10.21, 3.11.16, 3.12.14, 3.13.14, 3.14.6 — —
Versiones corregidas3.10.213.11.163.12.143.13.143.14.63.15.0b3
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/DBJZETMGUIFK7DVUWMOXHD3Z6IX2QPSX/
Parchehttps://github.com/python/cpython/pull/150600
Parchehttps://github.com/python/cpython/commit/157a5df8cb5d82b33f918a7489e72ce95ceb12b6
Parchehttps://github.com/python/cpython/commit/5755d0f083949ff3c5bf3a37e673e24e306b036e
Parchehttps://github.com/python/cpython/commit/619a12b2e545391dc436b3af79dda22337382a6f
Parchehttps://github.com/python/cpython/commit/d3ca26983dfbccdf609f24ff5877dc3118e4702d
Parchehttps://github.com/python/cpython/commit/938ec030e90c5e53f1faac6fab1643f14e4f4a79
Parchehttps://github.com/python/cpython/commit/991e6cf86496718c4ef00b362d640e00cb5c85b2
Parchehttps://github.com/python/cpython/commit/1ba6135eae75ad8413413caeeedb56ae72320636
Análisishttp://www.openwall.com/lists/oss-security/2026/06/08/17
Reportehttps://github.com/python/cpython/issues/150599
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.