CVE-2025-48379

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:python:pillow:11.2.1:*:*:*:*:*:*:*

History

15 Oct 2025, 20:03

Type Values Removed Values Added
CPE cpe:2.3:a:python:pillow:11.2.1:*:*:*:*:*:*:*
First Time Python pillow
Python
References () https://github.com/python-pillow/Pillow/commit/ef98b3510e3e4f14b547762764813d7e5ca3c5a4 - () https://github.com/python-pillow/Pillow/commit/ef98b3510e3e4f14b547762764813d7e5ca3c5a4 - Patch
References () https://github.com/python-pillow/Pillow/pull/9041 - () https://github.com/python-pillow/Pillow/pull/9041 - Exploit, Issue Tracking
References () https://github.com/python-pillow/Pillow/releases/tag/11.3.0 - () https://github.com/python-pillow/Pillow/releases/tag/11.3.0 - Release Notes
References () https://github.com/python-pillow/Pillow/security/advisories/GHSA-xg8h-j46f-w952 - () https://github.com/python-pillow/Pillow/security/advisories/GHSA-xg8h-j46f-w952 - Vendor Advisory

03 Jul 2025, 15:14

Type Values Removed Values Added
Summary
  • (es) Pillow es una librería de imágenes de Python. En las versiones 11.2.0 y anteriores a la 11.3.0, se produce un desbordamiento del búfer de montón al escribir una imagen suficientemente grande (más de 64k codificada con la configuración predeterminada) en formato DDS, debido a que se escribe en un búfer sin comprobar el espacio disponible. Esto solo afecta a los usuarios que guardan datos no confiables como una imagen DDS comprimida. Este problema se ha corregido en la versión 11.3.0.

01 Jul 2025, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-07-01 19:15

Updated : 2025-10-15 20:03


NVD link : CVE-2025-48379

Mitre link : CVE-2025-48379

CVE.ORG link : CVE-2025-48379


JSON object : View

Products Affected

python

  • pillow
CWE
CWE-122

Heap-based Buffer Overflow