CVE-2026-25990

NameCVE-2026-25990
DescriptionPillow is a Python imaging library. From 10.3.0 to before 12.1.1, n out-of-bounds write may be triggered when loading a specially crafted PSD image. This vulnerability is fixed in 12.1.1.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-6147-1
Debian Bugs1127925

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pillow (PTS)bullseye8.1.2+dfsg-0.3+deb11u2fixed
bullseye (security)8.1.2+dfsg-0.3+deb11u3fixed
bookworm, bookworm (security)9.4.0-1.1+deb12u1fixed
trixie11.1.0-5vulnerable
trixie (security)11.1.0-5+deb13u1fixed
forky12.0.0-1vulnerable
sid12.1.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pillowsourcebullseye(not affected)
pillowsourcebookworm(not affected)
pillowsourcetrixie11.1.0-5+deb13u1DSA-6147-1
pillowsource(unstable)12.1.1-11127925

Notes

[bookworm] - pillow <not-affected> (Vulnerable code introduced later)
[bullseye] - pillow <not-affected> (Vulnerable code introduced later)
https://github.com/python-pillow/Pillow/security/advisories/GHSA-cfh3-3jmp-rvhc
Introduced with fix for https://github.com/python-pillow/Pillow/pull/7706
Introduced with: https://github.com/python-pillow/Pillow/commit/c2907dc04967109391a77eea00f7d583a0a0395f (10.3.0)
Fixed by: https://github.com/python-pillow/Pillow/commit/9000313cc5d4a31bdcdd6d7f0781101abab553aa (12.1.1)

Search for package or bug name: Reporting problems