{"id":"CVE-2026-112405","published":"2026-10-19T21:29:53Z","modified":"2026-10-20T15:56:29Z","title":"Pillow: NULL pointer dereference in Image.merge via an unvalidated band 0","vendor":"python-pillow","product":"Pillow","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00532,"percentile":0.45797,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-cp9v-662q-vvx9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/python-pillow/Pillow/commit/b6ee66e8b2c2c0932bdf65f963268d9f2927ef86","tags":["x_refsource_MISC"]},{"url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0","tags":["x_refsource_MISC"]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":9.16},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"python-pillow","affectedVersions":[{"vendor":"python-pillow","product":"Pillow","versions":[">= 12.0.0, < 13.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-20T15:56:00.942567Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pillow","vulnerableRanges":[">=12.0.0, <13.0.0"],"patched":["13.0.0"],"from":["GHSA-cp9v-662q-vvx9","PYSEC-2026-4333"],"provenance":"source"}],"summary":{"text":"The flaw is a NULL pointer dereference in the Image.merge() function of Pillow, the Python imaging library, affecting versions from 12.0.0 up to but not including 13.0.0, because validation skips the first input band and lets a 32-bit integer or floating-point image be merged as a narrower multiband image. An attacker can crash the native process by supplying a crafted IPTC file that an application opens and loads, or by having a caller invoke Image.merge() directly with such a first band, and no authentication or user interaction beyond that is described.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:23Z"},"euvd":{"id":"EUVD-2026-104646","exploited":false,"provenance":"source"}}