Vulnerability
CVE-2026-96639
Pillow is a Python imaging library. From 11.0.0 until 13.0.0, multi-frame loaders can retain an ImagingCore allocation created for a narrow frame mode while a later frame of the same dimensions changes the logical mode and decoder tiles to wider RGB or CMYK data. ImageFile.load_prepare() reuses the stale native storage because _im is non-null without verifying that its mode and size still match. Crafted PSD, MPO, DCX, or MIC frame transitions can then write wider pixels into the narrow allocation, causing native out-of-bounds writes and crashes. The MPO path can also cause a native over-read and, in demonstrated runtime-specific profiles, command execution. This issue is fixed in version 13.0.0.
41 advisories report this vulnerability, across 7 ecosystems.
Advisories
- CGA-2hp9-4c9f-w633
- CGA-37pc-gjmp-3xp2
- CGA-394v-c586-795h
- CGA-3r3j-ggf2-gwj2
- CGA-54r2-8x3j-qm3v
- CGA-582j-h4fw-6928
- CGA-68f4-39m2-4vhv
- CGA-8j46-5pj5-r43g
- CGA-8vgj-x4cv-g8j9
- CGA-92g3-w44m-79gm
- CGA-99jw-6v83-hfc2
- CGA-cv6f-2qxg-84gc
- CGA-f3mg-6j8w-88cm
- CGA-g26p-mfh4-xrx8
- CGA-g2r7-mqp9-67v8
- CGA-gj6w-gh7j-x68q
- CGA-j6wr-hm94-66j6
- CGA-pc22-566m-658r
- CGA-pcqv-3rmm-3q9f
- CGA-pf6p-6394-h8qg
- CGA-q3p4-3xh2-cxjc
- CGA-q486-fj8v-xfvf
- CGA-qg46-7vv6-pj3h
- CGA-qpwr-cc7v-px56
- CGA-qw92-22rr-x92x
- CGA-r2fg-rg5q-q7wr
- CGA-rgjj-m8j5-92p3
- CGA-rvvx-v6cm-67wh
- CGA-v8qr-xwxm-xrj2
- CGA-w8q3-x4j3-fxrf
- CGA-x74c-22mh-rwh6
- CGA-xm72-4xv9-g96g
-
DEBIAN-CVE-2026-96639
Pillow is a Python imaging library. From 11.0.0 until 13.0.0, multi-frame loaders can retain an ImagingCore allocation created for a narrow frame mode while a later frame of the same dimensions changes the logical mode…
-
GHSA-v9pv-5gc8-w2m6
Pillow multi-frame loaders can reuse stale native image storage after mode transitions
-
PYSEC-2026-4339
Pillow is a Python imaging library. From 11.0.0 until 13.0.0, multi-frame loaders can retain an ImagingCore allocation created for a narrow frame mode while a later frame of the same dimensions changes the logical mode…
-
SUSE-SU-2026:24656-1
Security update for python-Pillow
-
SUSE-SU-2026:24701-1
Security update for python-Pillow
-
UBUNTU-CVE-2026-96639
Pillow is a Python imaging library. From 11.0.0 until 13.0.0, multi-frame loaders can retain an ImagingCore allocation created for a narrow frame mode while a later frame of the same dimensions changes the logical mode…
-
USN-9064-1
pillow vulnerabilities
-
openSUSE-SU-2026:22246-1
Security update for python-Pillow
-
openSUSE-SU-2026:22301-1
Security update for python-Pillow