CVE Database›Document archive›CVE-2026-42309

CVE-2026-42309

Pillow: Pillow: Denial of Service via specially crafted coordinate input

Loading…

Severity

Moderate

Red Hat Product Security

5.1

CVSS 3.1

Review impact separately from score.

Published · May 9, 2026

Updated · October 15, 2026

Description

A flaw was found in Pillow, a Python imaging library. A malicious actor could exploit this vulnerability by providing specially crafted nested lists as coordinates to image processing APIs within Pillow. This could lead to a heap buffer overflow, potentially causing a denial of service in applications using the library.

Statement

This Moderate impact vulnerability in the Pillow Python imaging library could lead to a denial of service. Applications processing untrusted image data that utilize specific Pillow APIs, such as ImagePath.Path, ImageDraw.ImageDraw.polygon, or ImageDraw.ImageDraw.line, with specially crafted nested list coordinates are susceptible to a heap buffer overflow.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.1
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

CWE-131 · Incorrect Calculation of Buffer Size