The write callback can overflow its heap buffer and expose unwritten heap bytes in the output.The CVE record was published on 19 October 2026. The GitHub CNA rates it CVSS 4.0 9.2 Critical, while NVD rates it CVSS 3.1 9.8 Critical.
What it allows
How Does CVE-2026-112393 Affect TIFF Saves?
When libtiff seeks forward to write TIFF metadata, Pillow's in-memory callback grows its buffer using the old allocation size. It should use the current write position. A later write can cross the allocation boundary when attacker-controlled metadata reaches that position. The related product is the vulnerability intelligence platform.
The same callback leaves alignment gaps uninitialized. For compressed output larger than 64 KiB, those gaps may carry stale heap bytes into the saved TIFF. The CVE record says this disclosure does not require a crafted metadata tag.
The vendor's attached reproducer shows a process crash and stale-byte disclosure. Its advisory also describes a separate code-execution demonstration that depends on an address leak from another bug; that demonstration is not attached. The CVE record says code execution may be possible, so the reproduced crash alone should not be described as proof of code execution.
What Does the Evidence Say About Exploitation?
The CISA KEV catalog released on 27 November 2026 does not list CVE-2026-112393. That catalog status does not establish whether a particular deployment has been attacked. Teams should prioritize according to their own exposure and evidence.
On 30 November 2026, a GitHub search returned one public repository whose name contained CVE-2026-112393. This is a repository count, not a verified attack or proof that its code works. The vendor's own advisory includes a reproducer for the crash and disclosure.
Which Applications Need Priority Review?
Prioritize services that accept untrusted TIFF images and save them through libtiff into a memory stream or response object. The vendor says ordinary re-encoding with inherited compression and metadata can reach the flaw. Saving to a file path or a target with a real file descriptor is outside its stated affected path.
Brandefense Blackhole counted 1 dark-chat record matching CVE-2026-112393 from 1 September to 30 November 2026. This is a count of chat records, not a count of attacks or actors. Review the application's TIFF save path before assigning operational urgency.
Related Pillow profiles cover FlashPix heap overflow and EPS argument injection; their conditions differ from this TIFF save issue. Assess each Pillow issue against the application path that uses the relevant image format.
Who is affected
Which Pillow Versions Are Affected?
The CVE record lists Pillow 2.0.0 inclusive through versions below 13.0.0. Pillow 13.0.0 is the fixed release. The vendor advisory's affected-version label ends at 12.3.0, consistent with its 13.0.0 patched-version label.
Exposure requires a compressed TIFF save through libtiff to a destination without a usable fileno(), such as io.BytesIO. For the overflow, attacker-controlled out-of-line metadata or a retained ICC profile must reach the write path. The stale-byte disclosure has a different condition: compressed output larger than 64 KiB with alignment gaps.
Inventory applications that open user-supplied images and then save TIFF output into memory. Check the installed and running Pillow version in each application environment. Follow the organization's patch management process and confirm the process uses Pillow 13.0.0 or later after deployment.
What to do
-
Map the TIFF save path
Find applications that accept untrusted images and save compressed TIFFs through libtiff to in-memory streams or response objects. Record the running Pillow version.
-
Upgrade Pillow
Move affected application environments to Pillow 13.0.0 or later. Follow the vendor's release and advisory guidance for the application build.
-
Verify the deployed fix
Check the version loaded by each running service after deployment. Exercise the application's normal TIFF conversion path with safe test images and confirm expected output.
-
Review output handling
Where older versions processed untrusted TIFFs, review conversion failures and unexpected output handling. Treat these observations as investigation leads, not attribution to this CVE.
What Brandefense can do
- Watch your stack for exploited flaws
Name the vendors and products you run, and Brandefense alerts you when a CVE in them is exploited.
- See CVE-2026-112393 in Brandefense Atlas
The Atlas record of CVE-2026-112393: severity, exploitation status and the sources behind it.
- Vulnerability intelligence platform
Brandefense Vulnerability Intelligence follows which vulnerabilities attackers are using, so your team can patch what is under attack first.
Frequently Asked Questions
What is CVE-2026-112393?
It is a Pillow heap overflow and stale-heap disclosure in compressed TIFF saves to in-memory destinations without a usable file descriptor.
Does the issue affect TIFF saves to file paths?
The vendor says file paths and destinations with real file descriptors are unaffected by this issue.
Which Pillow version fixes CVE-2026-112393?
Pillow 13.0.0 is the vendor's fixed release. Verify that the running application loads that version or a later one.
What did the vendor's reproducer show?
The attached reproducer shows a process crash and stale-heap bytes in output. The advisory describes a separate code-execution demonstration requiring another address leak.
Sources
- Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIOPillow GitHub Security Advisory
- CVE-2026-112393 recordCVE Program
- NVD CVE-2026-112393NIST NVD
- Known Exploited Vulnerabilities CatalogCISA