GitHub Advisoryadvisory · PyPI

GHSA-cfh3-3jmp-rvhc Pillow affected by out-of-bounds write when loading PSD images

HIGH Published 2026-02-11 Modified 2026-04-30 Official page ↗
Aliases
CVE-2026-25990
Ecosystem
PyPI
Packages
pillow
Severity
High
CVSS vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Weaknesses
CWE-787
Reviewed
2026-02-11

Affected packages

• PyPI pillow: >= 10.3.0, < 12.1.1 → fixed in 12.1.1

Description

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

Related

Alias · CVE (1)

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

References