CVE-2026-59198

HIGH CVSS 3.1: 7.5 EPSS 0.31%
Updated Oct 25, 2026
Python
Parameter Value
CVSS 7.5 (HIGH)
Affected Versions 5.2.0 — 12.3.0
Fixed In 12.3.0
Type CWE-125 (Out-of-bounds Read)
Vendor Python
Public PoC No

Pillow is a Python imaging library. From 5.2.0 until 12.3.0, Pillow's TGA RLE encoder reads past its packed row buffer when saving a mode 1 image with TGA RLE compression, allowing adjacent process heap bytes to be copied into the generated TGA file. This issue is fixed in version 12.3.0.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Python Pillow
cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*
5.2.0 12.3.0