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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-42308— Pillow: Integer overflow when processing fonts

Quick assessment

Affected
python-pillow Pillow
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Pillow是Pillow开源的一款基于Python的图像处理库。 Pillow 12.2.0之前版本存在输入验证错误漏洞,该漏洞源于字体每个字形前进量过大时可能导致整数溢出。

AI Predicted 5.5 Difficulty: Moderate EPSS 0.16% · P4

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 1

VendorProduct Version RangeStatus
python-pillow Pillow < 12.2.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-42308

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: Integer overflow when processing fonts
Source: CVE Program / CVE List V5
Vulnerability Description
Pillow is a Python imaging library. Prior to version 12.2.0, if a font advances for each glyph by an exceeding large amount, when Pillow keeps track of the current position, it may lead to an integer overflow. 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 12.2.0之前版本存在输入验证错误漏洞,该漏洞源于字体每个字形前进量过大时可能导致整数溢出。
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

Vendor Product Affected Versions CPE Subscribe
python-pillow Pillow < 12.2.0 -

II. Public POCs for CVE-2026-42308

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-42308

请登录查看更多情报信息。

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

Vendor Advisories for CVE-2026-42308 (1)

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

CVE-2026-42311 Pillow: OOB Write with Invalid PSD Tile Extents (Integer Overflow)
CVE-2026-42310 Pillow: PDF Parsing Trailer Infinite Loop (DoS)
CVE-2026-42309 Pillow: Heap buffer overflow with nested list coordinates

IV. Related Vulnerabilities

V. Comments for CVE-2026-42308

No comments yet


Leave a comment