Pillow affected by out-of-bounds write when loading PSD images
Description
Published to the GitHub Advisory Database
Feb 11, 2026
Reviewed
Feb 11, 2026
Published by the National Vulnerability Database
Feb 11, 2026
Last updated
Apr 30, 2026
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 aformatsparameter 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
References