9.2

CVE-2026-112398: python-pillow pillow Heap-based Buffer Overflow

CVSS: 9.2v4.0CriticalReceived
Published 19-10-2026Last modified 19-10-2026

Vulnerability summary

CVE-2026-112398 is a critical (CVSS 9.2) Heap-based Buffer Overflow vulnerability in python-pillow pillow.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.2/10
010
Critical · v4.0 (CVE.org)
EPSS score
Not scored
0%100%
No EPSS score yet
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 19-10-2026
    PublishedVulnerability first disclosed.

Description

Pillow is a Python imaging library. Prior to 13.0.0, Pillow's FlashPix JPEG-tile decoder can write decoded scanlines beyond the allocated tile buffer. FlashPix (FPX) JPEG decoding selects raw mode LA with two bytes per pixel, while an unrecognized JPEG mode can be decoded as JCS_UNKNOWN with four components, causing ImagingJpegDecode to write four-component scanlines into the two-byte tile buffer. An attacker can supply a crafted OLE2 FlashPix file to an application with the optional olefile dependency installed that opens or thumbnails untrusted input. This can corrupt heap memory and may allow arbitrary code execution. This issue is fixed in version 13.0.0.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

No EPSS score has been published for this record yet.

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Python-pillow1 product

1 vendor · 1 product

References

3 links