# CVE-2026-112902: Pillow: Memory disclosure and segfault in libtiff encoder via crafted TIFF tags

- Severity: High 8.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/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.64%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-21T21:29:16.000Z
- Modified: 2026-11-17T13:41:13.808Z
- Also known as: GHSA-xvh5-g6gv-559v, BIT-PILLOW-2026-112902, PYSEC-2026-4363
- Weaknesses: CWE-686
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Pillow is a Python imaging library. In versions through 12.3.0, the libtiff TIFF encoder can pass arguments to  TIFFSetField()  that do not match libtiff’s definition of the corresponding tag. When an application saves attacker-controlled image metadata through this encoder, crafted tag values can cause invalid memory reads, copying process memory into the encoded output or crashing the process. Applications that return the encoded output to an attacker can disclose that memory. The issue is reachable when re-saving compressed TIFF images and through certain conversions that preserve EXIF metadata into compressed TIFF output. This vulnerability is fixed in version 13.0.0.

(As written by CVE List.)

## Affected

- python-pillow Pillow: < 13.0.0
- pillow (PyPI): from 5.4.0 before 13.0.0; before 13.0.0
- python pillow: before 13.0.0
- pillow (Bitnami): before 13.0.0

## Every score

- GitHub_M: CVSS:4.0 8.3 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/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:H/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-xvh5-g6gv-559v> (exploit, advisory, fix, mitigation, patch, vendor-advisory, web)
- <https://github.com/python-pillow/Pillow/pull/10227> (fix, issue-tracking, patch, web)
- <https://github.com/python-pillow/Pillow/commit/570df030c0d30c2bf5336b2ab59f3902d8ab0b6d> (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-112902> (advisory, web)
- <https://github.com/github/advisory-database/pull/10903> (web)
- <https://github.com/python-pillow/Pillow/commit/af56ace297b0991d02988fcc2ea933e4824b4fb3> (web)
- <https://github.com/python-pillow/Pillow> (package)

## Sources

- CVE List: [CVE-2026-112902](https://www.cve.org/CVERecord?id=CVE-2026-112902), CVE Terms of Use, modified 2026-11-09
- GitHub Advisory Database: [GHSA-xvh5-g6gv-559v](https://github.com/advisories/GHSA-xvh5-g6gv-559v), CC-BY-4.0, modified 2026-11-17
- NVD: [CVE-2026-112902](https://nvd.nist.gov/vuln/detail/CVE-2026-112902), Public domain, modified 2026-11-10
- PyPA Advisory Database: [PYSEC-2026-4363](https://osv.dev/vulnerability/PYSEC-2026-4363), CC-BY-4.0, modified 2026-11-17
- Bitnami Vulnerability Database: [BIT-PILLOW-2026-112902](https://osv.dev/vulnerability/BIT-PILLOW-2026-112902), Apache-2.0, modified 2026-11-17

---

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