PYSEC-2025-61
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| pillow | PyPI | 89f1f4626a2aaf5f3d5ca6437f41def2998fbe09, 11.3.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PyPI | pillow | 0, 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