StraitOfVuln
Latest / CVE-2026-112398

CVE-2026-112398

CriticalCVSS 9.8 (v3.1)Analyzed
CVE.org ↗NVD ↗Vendor advisory ↗

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.

Details

CVE ID
CVE-2026-112398
Published / updated
19 Oct 2026, 22:17 UTC · last modified 27 Oct 2026, 21:01 UTC
Severity
CRITICAL
CVSS score
9.8 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · Attack vector: Network
Affected vendor
Affected products
Pillow
Affected versions
Pillow: < 13.0.0
Fixed versions
pillow 13.0.0
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.70% probability of exploitation in the next 30 days · 54% percentile (03 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (pillow 13.0.0) per the vendor advisory.
Source (CNA)
security-advisories@github.com