VDB

PYSEC-2025-61

PYSEC-2025-61 PUBLISHED CVSS 9.300000190734863 CRITICAL

Record from OSV · Published July 1, 2025

pillow is fixed in 89f1f4626a2aaf5f3d5ca6437f41def2998fbe09 and 11.3.0 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
pillowPyPI89f1f4626a2aaf5f3d5ca6437f41def2998fbe09, 11.3.0

Risk scores

CVSS 4.0
9.300000190734863
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
PyPIpillow0, 11.2.0, 11.2.1

Timeline

  • Jul 1, 2025 CVE Published

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln PYSEC-2025-61
vulnetix vdb fixes PYSEC-2025-61

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/PYSEC-2025-61/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›