MEDIUM 5.5 PyPI

Pillow has an integer overflow when processing fonts

GHSA-wjx4-4jcj-g98j · BIT-pillow-2026-42308 · CVE-2026-42308 · PYSEC-2026-165

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes