Live threats

All CVEs / Python

CVE-2025-48379Python Pillow

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
—
Auth required
Yes
Published
Jul 1, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-122
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pillow.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pillow ≥ 11.2.0 < 11.3.0 11.3.0 pip install "pillow>=11.3.0"
PyPI pillow ≥ 11.2.0 < 11.3.0 11.3.0 pip install "pillow>=11.3.0"

Per OSV / GitHub Advisories (GHSA-xg8h-j46f-w952, PYSEC-2025-61). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pythonpillow11.2.1

Official sources

References

Links published by the sources. Open them with care.