CVE-2026-42308 — Pillow: Integer overflow when processing fonts
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 …
Published: 2026-05-09 · CVSS: 5.1 · CVSS 4.0
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 · Revision 8b16575c39f1e1810c5e863010da073d2d3285e7