[ CVE-2026-112405 · Published 19 Oct 2026 ]

Pillow: NULL pointer dereference in Image.merge via an unvalidated band 0

CVSS 8.7 EPSS <1%Fix available

[ Why it matters ]Priority signals

  • Public proof-of-concept exploit exists (CISA SSVC)

[ Description ]Official description

Pillow is a Python imaging library. From 12.0.0 until 13.0.0, Pillow's Image.merge() can dereference a null image8 plane. Validation skips the first input band, allowing a 32-bit integer or floating-point image backed by image32 storage to be merged as a narrower multiband image. A crafted IPTC file can reach this path when an application opens and loads it, or a caller can invoke Image.merge() directly with such a first band. This causes a native process crash. This issue is fixed in version 13.0.0.

[ Fixes ]Fixes and patches

  • pillow 13.0.0Fixed version · GitHub Advisories · pip package pillow: upgrade to 13.0.0 or later (affected >= 12.0.0, < 13.0.0)

[ Packages ]Affected open-source packages