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…
- CVSS
- 9.8Critical
- Chance of exploitation (EPSS)
- 1.0%
- Published
- Oct 19, 2026
- In the news
- 2 stories
What to do
A critical buffer overflow in Python Pillow and Python-pillow Pillow that can be attacked over the network without logging in. Exploit code is public, so patch it soon.
Action: Apply the vendor's update or follow its advisory.
Affected versions
- Python-pillow Pillow
- >= 2.0.0, < 13.0.0
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.
Affected products
Get alerts for these →Timeline 24
Latest change: googlesky/CVE-2026-112393: Pillow before 13.0.0 TIFF write heap buffer overflow (CVE-2026-112393, CVSS 9.2): _tiffWriteProc grows its buffer from the old size not the write location, so an out-of-line tag written after libtiff… (Nov 29, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Mon, Nov 30, 2026
Mon, Nov 16, 2026
- AdvisoryUSN-9064-2: Pillow regressionUbuntu · 18:07 UTC
Thu, Nov 12, 2026
- AdvisoryUSN-9064-1: Pillow vulnerabilitiesUbuntu · 15:55 UTC
- DetectionNessus plugin 379493: SUSE SLED15 / SLES15 Security Update : python-Pillow (SUSE-SU-2026:5194-1)Tenable
Wed, Nov 11, 2026
- DetectionNessus plugin 378745: RHEL 8 : python-pillow (RHSA-2026:98120)Tenable
- DetectionNessus plugin 378749: RHEL 8 : python-pillow (RHSA-2026:98109)Tenable
- DetectionNessus plugin 379291: TencentOS Server 3: python-pillow (TSSA-2026:1430)Tenable
- DetectionNessus plugin 378738: RHEL 8 : python-pillow (RHSA-2026:98111)Tenable
Mon, Nov 9, 2026
Fri, Nov 6, 2026
Thu, Nov 5, 2026
Tue, Nov 3, 2026
Mon, Nov 2, 2026
Sun, Nov 1, 2026
Sat, Oct 31, 2026
Fri, Oct 30, 2026
- DetectionNessus plugin 374295: RHEL 9 : Satellite 6.19 (RHSA-2026:92861)Tenable
- DetectionNessus plugin 374290: RHEL 8 : python-pillow (RHSA-2026:93077)Tenable
Wed, Oct 28, 2026
Mon, Oct 19, 2026
- CVECVE-2026-112393 published (CVSS 9.8)CVE Program · 21:17 UTC
Exploit code
Visit at your own risk. These are third-party sites we find automatically. We do not test, review or vouch for them, and fake proof-of-concept repositories sometimes contain malware.
References 4
- github.com Patch /python-pillow/Pillow/commit/11582e5ffbdceb973d5ee593f3105af5a9852b40
- github.com ExploitPatchVendor Advisory /python-pillow/Pillow/security/advisories/GHSA-332p-7hrc-92wf
- github.com ExploitPatchVendor Advisory /python-pillow/Pillow/security/advisories/GHSA-332p-7hrc-92wf
- github.com /python-pillow/Pillow/releases/tag/13.0.0