NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2026-42308: Pillow has an integer overflow when processing fonts

mediumCVSS 4.0 5.1 · 3.1 5.5GHSA-wjx4-4jcj-g98j

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 has been fixed.

Published May 4, 2026 · Updated Jun 8, 2026

Affected packages

pillow

Ecosystem
PyPI
Affected
< 12.2.0
Fixed in
12.2.0
Check
pip show pillow

Advisory details

From the GitHub Advisory Database (CC BY 4.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 has been fixed.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries