SEVERITY AND EXPLOITATION CONTEXT

CVE-2026-112393: Pillow: Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIO

Review published vectors, EPSS probability and CISA KEV status independently.

Lookup reads saved CVE and CISA snapshots from this site and requests EPSS from FIRST. The CVE source is contacted when a saved record is unavailable or you request a refresh. External providers receive your IP address. Finding notes and saved assessments are not sent by this feature.

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

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.

Published CVE snapshot: 2026-10-22. Record last updated: 2026-10-19T21:17:41.571Z. The live panels refresh separately; this snapshot remains available if a source cannot be reached.

View the CVE Program source record

GitHub_M · CVSS 4.0: 9.2 Critical

Calculated from the published vector. Base score: 9.2. Provider-reported Base score: 9.2.

Vector and metric explanationsCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
MetricValueMeaning
Attack vector (AV)NReachable across a network boundary, including internet or routed network paths.
Attack complexity (AC)HExploitation depends on overcoming a specific security-enhancing condition, such as defeating a mitigation.
Attack requirements (AT)PA specific deployment or execution condition is necessary, such as winning a race or gaining an on-path position.
Privileges required (PR)NThe attacker needs no privileges before exploiting the vulnerability.
User interaction (UI)NNo other user must participate for exploitation to succeed.
Confidentiality (VC)HAll information is disclosed, or a limited disclosure has a direct, serious confidentiality consequence.
Integrity (VI)HIntegrity is completely lost, or modification has a direct, serious consequence.
Availability (VA)HAvailability is completely lost, or the disruption has a direct, serious consequence.
Confidentiality (SC)NNo impact to this property is established in a subsequent system.
Integrity (SI)NNo impact to this property is established in a subsequent system.
Availability (SA)NNo impact to this property is established in a subsequent system.

These definitions explain provider selections; they do not independently verify exploitation.

Review vector in calculator

Affected products reported by the provider

  • python-pillow · Pillow

Consult the advisory for affected version ranges, configurations and remediation. A product listing alone does not establish that your installation is vulnerable.

Source references (3)

Interpret severity and exploitation separately

CVSS measures technical severity. EPSS estimates exploitation probability over the next 30 days. CISA KEV lists known exploited vulnerabilities. A missing EPSS result is not zero probability, and absence from KEV does not prove no exploitation. Review your deployment and retain the version, vector and evidence when documenting a finding.

Browse CVEs from 2026 · All published CVEs · Calculation methodology