# CVE-2026-112405: Pillow: NULL pointer dereference in Image.merge via an unvalidated band 0

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-19T21:29:53.515Z
- Modified: 2026-10-29T10:45:09.209Z
- Also known as: GHSA-cp9v-662q-vvx9, BIT-PILLOW-2026-112405, PYSEC-2026-4333
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- python-pillow Pillow: >= 12.0.0, < 13.0.0
- pillow (PyPI): from 12.0.0 before 13.0.0
- python pillow: from 12.0.0 before 13.0.0
- pillow (Bitnami): from 12.0.0 before 13.0.0

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-cp9v-662q-vvx9> (exploit, advisory, evidence, vendor-advisory, web)
- <https://github.com/python-pillow/Pillow/commit/b6ee66e8b2c2c0932bdf65f963268d9f2927ef86> (fix, patch, web)
- <https://github.com/python-pillow/Pillow/releases/tag/13.0.0> (advisory, article, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-112405> (advisory, web)
- <https://github.com/python-pillow/Pillow> (package)

## Sources

- CVE List: [CVE-2026-112405](https://www.cve.org/CVERecord?id=CVE-2026-112405), CVE Terms of Use, modified 2026-10-20
- GitHub Advisory Database: [GHSA-cp9v-662q-vvx9](https://github.com/advisories/GHSA-cp9v-662q-vvx9), CC-BY-4.0, modified 2026-10-28
- NVD: [CVE-2026-112405](https://nvd.nist.gov/vuln/detail/CVE-2026-112405), Public domain, modified 2026-10-27
- PyPA Advisory Database: [PYSEC-2026-4333](https://osv.dev/vulnerability/PYSEC-2026-4333), CC-BY-4.0, modified 2026-10-28
- Bitnami Vulnerability Database: [BIT-PILLOW-2026-112405](https://osv.dev/vulnerability/BIT-PILLOW-2026-112405), Apache-2.0, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-112405 · Whole record: https://cve.day/CVE-2026-112405.json · Rebuilt by cve.day 2026-11-25T22:59:45.954Z
