# CVE-2026-112395: Pillow tiled-TIFF decoder reads past tile buffer in copy4 (Unpack.c:1290)

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L`
- 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.52%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-19T20:59:15.098Z
- Modified: 2026-10-28T16:17:01.987Z
- Also known as: GHSA-462x-pgg6-55fp, BIT-PILLOW-2026-112395
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Pillow is a Python imaging library. From 8.2.0 until 13.0.0, Pillow's tiled-TIFF decoder can read past the tile buffer while copying four-byte pixels. In _decodeTile, libtiff can return a tile allocation smaller than the required row stride multiplied by the tile length, and Pillow's stride-and-copy loop walks beyond that allocation. An attacker can supply a crafted tiled TIFF to an application that loads it. This can expose adjacent heap data in pixels or crash the process. This issue is fixed in version 13.0.0.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L`
- NVD: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-462x-pgg6-55fp> (exploit, advisory, vendor-advisory, web)
- <https://github.com/python-pillow/Pillow/commit/76869efdbbf2ad7dccd7536520fb61b7a00ab61e> (fix, patch, web)
- <https://github.com/python-pillow/Pillow/releases/tag/13.0.0> (article, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-112395> (advisory, web)
- <https://github.com/python-pillow/Pillow> (package)

## Sources

- CVE List: [CVE-2026-112395](https://www.cve.org/CVERecord?id=CVE-2026-112395), CVE Terms of Use, modified 2026-10-28
- GitHub Advisory Database: [GHSA-462x-pgg6-55fp](https://github.com/advisories/GHSA-462x-pgg6-55fp), CC-BY-4.0, modified 2026-10-26
- NVD: [CVE-2026-112395](https://nvd.nist.gov/vuln/detail/CVE-2026-112395), Public domain, modified 2026-10-28
- Bitnami Vulnerability Database: [BIT-PILLOW-2026-112395](https://osv.dev/vulnerability/BIT-PILLOW-2026-112395), Apache-2.0, modified 2026-10-27

---

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