pillow
Affected
- introduced
11.2.0, fixed11.3.0(ecosystem)
Fixed versions
11.3.0
Fix
- Fixed version
11.3.0pip install --upgrade pillow==11.3.0
Advisory
Also known as: BIT-pillow-2025-48379, CVE-2025-48379, PYSEC-2025-61
Pillow vulnerability can cause write buffer overflow on BCn encoding
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 was introduced in Pillow 11.2.0 when the feature was added.
High Basis: The source's own band: HIGH
11.2.0, fixed 11.3.0 (ecosystem)11.3.0
11.3.0pip install --upgrade pillow==11.3.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0