Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-42309— Pillow: Heap buffer overflow with nested list coordinates

AI Predicted 8.1 Difficulty: Easy EPSS 0.13% · P3

Possible ATT&CK Techniques 1AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 1

VendorProductVersion RangeStatus
python-pillowPillow>= 11.2.1, < 12.2.0affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-42309

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Pillow: Heap buffer overflow with nested list coordinates
Source: CVE Program / CVE List V5
Vulnerability Description
Pillow is a Python imaging library. From version 11.2.1 to before version 12.2.0, passing nested lists as coordinates to APIs that accept coordinates such as ImagePath.Path, ImageDraw.ImageDraw.polygon and ImageDraw.ImageDraw.line could cause a heap buffer overflow, as nested lists were recursively unpacked beyond the allocated buffer. Coordinate lists are now validated to contain exactly two numeric coordinates. This issue has been patched in version 12.2.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
堆缓冲区溢出
Source: CVE Program / CVE List V5
Vulnerability Title
Pillow 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Pillow是Pillow开源的一款基于Python的图像处理库。 Pillow 11.2.1版本至12.2.0之前版本存在安全漏洞,该漏洞源于将嵌套列表作为坐标传递给API时可能导致堆缓冲区溢出。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
python-pillowPillow >= 11.2.1, < 12.2.0 -

II. Public POCs for CVE-2026-42309

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-42309

登录查看更多情报信息。

Patches & Fixes for CVE-2026-42309 (1)

Vendor Advisories for CVE-2026-42309 (1)

Same Patch Batch · python-pillow · 2026-05-09 · 4 CVEs total

CVE-2026-42308Pillow: Integer overflow when processing fonts
CVE-2026-42311Pillow: OOB Write with Invalid PSD Tile Extents (Integer Overflow)
CVE-2026-42310Pillow: PDF Parsing Trailer Infinite Loop (DoS)

IV. Related Vulnerabilities

V. Comments for CVE-2026-42309

No comments yet


Leave a comment