Shellfeed logo Shellfeed

CVE-2026-112405 · HIGH

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

EPSS: 0.6% probability of exploitation in the next 30 days (percentile 49.0).

Details

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.

Severity

HIGH — vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected packages

  • PyPI pillow [12.0.0 – 13.0.0]
  • GIT github.com/python-pillow/pillow [693df7b42c666f88c719f9973be0ad71607328e0 – 293218ad059d994baf1777d882911bed6a49704a]

References