Vulnerability details

CVE-2026-112896

python-pillow Pillow

Pillow: TIFF encoder ColorMap plane-size mismatch causes a heap out-of-bounds read

CVSS 4.0
8.8High

Official description

Pillow is a Python imaging library. Prior to 13.0.0, Pillow's TIFF encoder can read beyond a ColorMap buffer when retained TIFF metadata has a plane size inconsistent with BitsPerSample. A small TIFF can be opened normally and then retain a crafted ColorMap that is reused when the image is saved. An application that re-encodes the attacker's TIFF with libtiff can trigger the out-of-bounds read. This can disclose heap memory in the output or crash the process. This issue is fixed in version 13.0.0.

CVSS scores

ScoreVersionSourceVector
8.8High 4.0 CVEProject cvelistV5 (CNA) (GitHub_M) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N

Affected products

VendorProductVersionsSource
python-pillow Pillow < 13.0.0 CVEProject cvelistV5 (CNA)

References and advisories

3
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-10-20
Last updated
2026-10-20
State
Published
Assigner (CNA)
GitHub_M

Exploit prediction (EPSS)

0.47%
Probability of exploitation in 30 days
41.2%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
Yes
Exploitation
Proof of concept
Technical impact
Partial

Weaknesses (CWE)

  • CWE-125
    Out-of-bounds Read