9.8

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

Analyzed
AliasesDEBIAN-CVE-2026-112393GHSA-332p-7hrc-92wfCGA-3wpf-prm9-wrw3
Published 19-10-2026Last modified 19-10-2026

Vulnerability summary

CVE-2026-112393 is a critical (CVSS 9.8) Heap-based Buffer Overflow vulnerability in python-pillow pillow. EPSS estimates a 1.02% chance of exploitation in the next 30 days, higher than 64.5% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
1.02%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 18 · Related 7

Timeline

  1. 19-10-2026
    PublishedVulnerability first disclosed.
  2. 19-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

9 scores · 7 sources · 2 versions

EPSS trend

Probability

1.02%

Chance of exploitation in the next 30 days

Percentile

65%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.02% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Pillow

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard22 products
  • apache-beam-python-3.12-sdkAll versions (No fix recorded) | < 2.77.0-r5
  • mlflowAll versions (No fix recorded) | < 3.17.2-r2
  • mlflow-fipsAll versions (No fix recorded) | < 3.17.2-r3
  • nemo-gymAll versions (No fix recorded) | < 0.5.0_rc0_git20260729-r6
  • nemo-rl-cuda-13.0All versions (No fix recorded) | < 0.7.0-r11
Wolfi6 products
  • mlflowAll versions (No fix recorded)
  • open-webui< 0.12.3-r6 | All versions (No fix recorded)
  • py3.10-pillowAll versions (No fix recorded)
  • py3.11-pillowAll versions (No fix recorded) | < 13.0.0-r0
  • py3.12-pillowAll versions (No fix recorded) | < 13.0.0-r0
Ubuntu2 products
  • pillowAll versions (No fix recorded) | < 2.3.0-1ubuntu3.4+esm6 | < 3.1.2-0ubuntu1.6+esm4 | < 5.1.0-1ubuntu0.8+esm3 | < 7.0.0-4ubuntu0.9+esm2 | < 9.0.1-1ubuntu0.7 | < 10.2.0-1ubuntu1.5 | < 12.3.0-1ubuntu2 | < 12.1.1-2ubuntu1.5
  • pillow-python2All versions (No fix recorded)
Debian1 product
  • pillowAll versions (No fix recorded) | < 13.0.0-1
PyPI1 product
  • pillow≥ 2.0.0, < 13.0.0
Python1 product
Python-pillow1 product

7 vendors · 34 products

References

10 links