NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2026-25990: Pillow affected by out-of-bounds write when loading PSD images

highCVSS 4.0 8.6GHSA-cfh3-3jmp-rvhc

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. Workarounds Image.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

Published Feb 11, 2026 · Updated Apr 30, 2026

Affected packages

pillow

Ecosystem
PyPI
Affected
>= 10.3.0, < 12.1.1
Fixed in
12.1.1
Check
pip show pillow

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Workarounds

Image.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

Credited to wiredfool, radarhere, hugovk, yardenporat353.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries