CVE 5.1 MEDIUM

Pillow: Integer overflow when processing fonts_CVE-2026-42308

5.1 / 10
MEDIUM
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

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.

Basic Information

ID CVE-2026-42308
Source GitHub_M
Published May 9, 2026 at 04:09

Affected Product

Vendor python-pillow
Product Pillow
Version < 12.2.0
Affected Versions python-pillow Pillow < 12.2.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.