pillow
Affected
- introduced
10.3.0, fixed12.1.1(ecosystem)
Fixed versions
12.1.1
Fix
- Fixed version
12.1.1pip install --upgrade pillow==12.1.1
Advisory
Also known as: BIT-pillow-2026-25990, CVE-2026-25990, PYSEC-2026-2249
Pillow affected by out-of-bounds write when loading PSD images
Impact
An out-of-bounds write may be triggered when loading a specially crafted PSD image. Pillow >= 10.3.0 users are affected.
Patches
Pillow 12.1.1 will be released shortly with a fix for this.
WorkaroundsImage.open() has a formats parameter that can be used to prevent PSD images from being opened.
References
Pillow 12.1.1 will add release notes at https://pillow.readthedocs.io/en/stable/releasenotes/index.html
High Basis: The source's own band: HIGH
10.3.0, fixed 12.1.1 (ecosystem)12.1.1
12.1.1pip install --upgrade pillow==12.1.1Fix 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