CVE-2026-112393
9.8, criticalPython-pillow Pillow Heap-based Buffer Overflow Vulnerability
- CVSS
- 9.8, critical critical CVSS v3.1
- EPSS, next 30 days
- 0.8% higher than 56.8% of scored CVEs
- Exploitation
- Exploit code published
- Published
- 19 Oct 20268 days ago
Description
Pillow is a Python imaging library. From 2.0.0 until 13.0.0, Pillow has a heap buffer overflow and stale-heap disclosure in _tiffWriteProc when saving compressed TIFF data through libtiff to a target without a usable fileno(), such as BytesIO. The callback sizes its allocation from the prior buffer size instead of the current write position, allowing an attacker-controlled out-of-line TIFF tag or retained ICC profile to be copied beyond the allocation after libtiff seeks forward. This overflow can crash the process and may allow code execution. Independently, unwritten alignment gaps in compressed TIFF output larger than 64 KiB can disclose stale heap bytes without a crafted tag. File paths and targets with real file descriptors are unaffected. This issue is fixed in version 13.0.0.
Details
- Vendor
- Python-pillow
- Product
- Pillow
- Weakness
- CWE-122 (opens in a new tab)
- Status
- Analyzed
- Updated
- 26 Oct 2026
- Assigner
- security-advisories@github.com
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References 3
Exploit code 1
Patches and fixes 1
Other references 1
The kind is read from NVD's tags where present and from the shape of the URL otherwise, so treat it as a hint.
Other Python-pillow CVEs
Every Python-pillow CVE we holdSame vendor in what we hold, not a known link between the flaws.
- CVE-2026-112390 Pillow is a Python imaging library EPSS 0.6% 7.5, high
- CVE-2026-112391 Pillow is a Python imaging library EPSS 0.6% 7.5, high
- CVE-2026-112394 Pillow is a Python imaging library EPSS 0.5% 8.2, high
- CVE-2026-112395 Python-pillow Pillow Heap-based Buffer Overflow Vulnerability EPSS 0.4% 8.2, high
- CVE-2026-112392 Python-pillow Pillow NULL Pointer Dereference Vulnerability EPSS 0.5% 7.5, high
- CVE-2026-112396 Python-pillow Pillow Use-After-Free Vulnerability EPSS 0.6% 7.5, high
Beyond this page
Is CVE-2026-112393 in your network?
This page tells you how dangerous CVE-2026-112393 is out there. Whether it sits on one of your devices, only a scan of your own network can tell. That is what our systems do, every day, for the companies we protect.
-
EXYS7600 OCELOT
Find it before attackers do
Ocelot scans your network on a schedule and reports every vulnerability it finds by its CVE identifier, with its CVSS score and how many of your hosts are affected. A finding like CVE-2026-112393 comes with the devices to patch.
Learn more about EXYS7600 OCELOT -
EXYS7950 KONDRA
Detect it if it's exploited
Until the patch is applied, Kondra monitors your network, events and endpoints in real time. It keeps an inventory of the software installed on every endpoint, and its anomaly detection rules flag what an attacker does once inside.
Learn more about EXYS7950 KONDRA
Assembled from the NVD 2.0 API, the CISA Known Exploited Vulnerabilities Catalog and FIRST EPSS. Scores are as of our last collection on 27 Oct 2026, not the live upstream state.