CVE-2025-48379

High

Description

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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductPython Pillow
PublishedJul 1, 2025
First seenJul 1, 2025
Weakness typeCWE-122CWE-122

How to fix

Update
  • pillow11.3.0 or later

Affected products

ProductAffected versionsFixed in
python pillow11.2.1—
pillowPyPI11.2.0 ≤ v < 11.3.011.3.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.