llamaCVEVulnerability Intelligence
/
Pillow

CVE-2025-48379

Pillow Vulnerable to Write Buffer Overflow on BCn encoding

Solo en configuraciones específicasParche disponible
Descargar PNG JSON
CVSS 3.1
7.1
Alta
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H Fuente: CNA
5.5NVD · CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
ExplotaciónSin evidenciaSSVC: ninguna · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche el mismo día de la divulgación
Exposición508 dDesde la divulgación, 1 jul 2025, 1:33 p. m.
Detección489 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.
Yo la vigilo, tú la programas. ¿Trato?Sospechosa como un adjunto llamado factura_final2.exe.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Parche 11.3.0
Monitoreo
Detectada
Verificada
1 jul 25
3 nov 26
20 nov 26
22 nov 26
1 jul 25
5 nov 25
13 mar 26
18 jul 26
22 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2025-48379 divulgada · CVSS 7.1 (CNA)
Remediación Parche 11.3.0 pillow · 0 d desde divulgación
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen

Pillow is a Python imaging library. In versions 11.2.0 to before 11.3.0, there is a heap buffer overflow when writing a sufficiently large (>64k encoded with default settings) image in the DDS format due to writing into a buffer without checking for available space. This only affects users who save untrusted data as a compressed DDS image. This issue has been patched in version 11.3.0.

Only affects Pillow 11.2.0 when saving untrusted data as a compressed DDS image larger than 64k with default settings. Fixed in 11.3.0.

¿Qué significa?Saving a large image in DDS format with BCn encoding writes past the end of a heap buffer without a bounds check. This corrupts heap memory and can crash the process, and the size of the write is unclear.
¿Quién está afectado?Pillow 11.2.0 is listed as affected. The bug needs an image over 64k encoded with default settings and saved as a compressed DDS image from untrusted data. To check a installed version, run python -c "import PIL; print(PIL.__version__)".
¿Qué hacer?Upgrade Pillow to 11.3.0, the listed fixed version.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Saving a sufficiently large image (over 64k encoded with default settings) in DDS format“a sufficiently large (>64k encoded with default settings) image in the DDS format”
02
Image is saved as a compressed DDS image, with untrusted data“This only affects users who save untrusted data as a compressed DDS image.”
03
Pillow version 11.2.0 (affected versions)“Affected versions 11.2.0”
¿Quién debe revisar?Anyone running Pillow 11.2.0 before 11.3.0 who saves untrusted data as compressed DDS images, such as image-processing services.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:L
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
6.4/ 10Medio
Vector 6.4 (fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
Pillow · pillow≥ 11.2.0 < 11.3.0
11.2.0
11.3.0
13.0.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypipillow
Corregida 11.3.0 0 d 13.0.0 no afectada
Versiones corregidas11.3.0
Explotación

Arsenal público

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

Referencias
Fabricantehttps://github.com/python-pillow/Pillow/security/advisories/GHSA-xg8h-j46f-w952
Otrahttps://github.com/python-pillow/Pillow/pull/9041
Otrahttps://github.com/python-pillow/Pillow/commit/ef98b3510e3e4f14b547762764813d7e5ca3c5a4
Otrahttps://github.com/python-pillow/Pillow/releases/tag/11.3.0

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