Zero Day MonitorZDM
DashboardVulnerabilitiesTrendingZero-DaysNewsAbout
Login
ImpressumPrivacy Policy
Zero Day Monitor © 2026
4048 articles · 260924 vulns · 37/41 feeds (7d)
← Back to list
—
CVE-2026-112393PATCHED
python · pillow

Pillow: Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIO

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

VendorProductVersions
pythonpillowpip/Pillow: >= 2.0.0, < 13.0.0

Also Affects

Downstream vendors/products affected by this vulnerability

VendorProductSourceConfidence
red hatenterprise linuxcert_advisory90%

References

  • https://github.com/python-pillow/Pillow/security/advisories/GHSA-332p-7hrc-92wf(x_refsource_CONFIRM)
  • https://github.com/python-pillow/Pillow/commit/11582e5ffbdceb973d5ee593f3105af5a9852b40(x_refsource_MISC)
  • https://github.com/python-pillow/Pillow/releases/tag/13.0.0(x_refsource_MISC)

Related News (3 articles)

Tier B
BSI Advisories3d ago
[NEU] [hoch] Red Hat Enterprise Linux (perl-yaml, pillow): Mehrere Schwachstellen
→ No new info (linked only)
Tier C
oss-security15d ago
Pillow 13.0.0 fixes long list of vulnerabilities
→ No new info (linked only)
Tier C
VulDB17d ago
CVE-2026-112393 | python-pillow Pillow up to 12.x TIFF Processing _tiffWriteProc heap-based overflow
→ No new info (linked only)

Discussion (0)

Loading…

CISA KEV❌ No
Actively exploited❌ No
Patch available
Pillow@13.0.0
CWECWE-122
PublishedOct 19, 2026
Last enriched17d agov2
Trending Score39
Source articles3
Independent3
Info Completeness7/14
Missing: cvss, epss, kev, exploit, patch, iocs, mitre_attack

Community Vote

0
Login to vote
0 upvotes0 downvotes
No votes yet

Related CVEs (5)

CRITICALCVE-2026-112900
Pillow: Argument Injection in Ghostscript call, potentially leading into RCE
Trending: 43
CRITICALCVE-2026-112398
Pillow: Heap buffer overflow in FlashPix (FPX) JPEG decoding leads to code execution
Trending: 39
HIGHCVE-2026-112894
Pillow: Quadratic-time DoS in PDF save_all (PdfParser.next_object_id)
Trending: 30
HIGHCVE-2026-112402
Pillow: Double free in ImagingScaleAffine on calloc failure via Image.transform
Trending: 30
HIGHCVE-2026-112392
Pillow: NULL dereference in ImagingExpand via rank filters on zero-size images
Trending: 30

Pin to Dashboard

Verification

State: verified
Confidence: 100%

Vulnerability Timeline

CVE Published
Oct 19, 2026
Discovered by ZDM
Oct 19, 2026
Patch Available
Oct 19, 2026
Updated: affectedVersions
Oct 19, 2026

Version History

v2
Last enriched 17d ago
v2Tier C17d ago

Updated severity to CRITICAL and corrected affected versions to include up to 12.x (indicating the vulnerability persists beyond the previously recorded 13.0.0 fix)

affectedVersions
via VulDB
v117d ago

Initial creation