PT-2026-37198 · Pypi+3 · Pillow+3

·

CVE-2026-42309

·

Published

2026-05-04

·

Updated

2026-08-12

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Pillow versions 11.2.1 through 12.1.x
Description Passing nested lists as coordinates to APIs that accept coordinates, such as 'ImagePath.Path', 'ImageDraw.ImageDraw.polygon', and 'ImageDraw.ImageDraw.line', can cause a heap buffer overflow. This occurs because nested lists are recursively unpacked beyond the allocated buffer. A heap buffer overflow is a memory corruption issue where data is written past the end of a buffer allocated on the heap, potentially leading to crashes or arbitrary code execution.
Recommendations Update to version 12.2.0.

Exploit

Fix

DoS

Heap Based Buffer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-10815
BIT-PILLOW-2026-42309
CLEANSTART-2026-EN66750
CLEANSTART-2026-FG72002
CLEANSTART-2026-RF67070
CVE-2026-42309
ECHO-7EB6-969E-18B8
GHSA-5XMW-VC9V-4WF2
OPENSUSE-SU-2026:20831-1
PYSEC-2026-2251
SUSE-SU-2026:21861-1
USN-8399-1

Affected Products

Linuxmint
Pillow
Red Os
Ubuntu