Vulnerability · Published Oct 19, 2026 · Assigned by GitHub_M
CVE-2026-112395Pillow tiled-TIFF decoder reads past tile buffer in copy4 (Unpack.c:1290)
Medium 6.5
In plain English
A medium-severity heap buffer overflow in Pillow from python-pillow. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | pillow | no fix listed | DEBIAN-CVE-2026-112395 |
| Debian:13 | pillow | no fix listed | DEBIAN-CVE-2026-112395 |
| Debian:14 | pillow | no fix listed | DEBIAN-CVE-2026-112395 |
| PyPI | pillow | 13.0.0 | GHSA-462x-pgg6-55fp |
| Ubuntu:22.04:LTS | pillow | no fix listed | UBUNTU-CVE-2026-112395 |
| Ubuntu:24.04:LTS | pillow | no fix listed | UBUNTU-CVE-2026-112395 |
| Ubuntu:26.04:LTS | pillow | no fix listed | UBUNTU-CVE-2026-112395 |
| Ubuntu:26.10 | pillow | no fix listed | UBUNTU-CVE-2026-112395 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| python-pillow | Pillow | >= 8.2.0, < 13.0.0 |
Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L