CVE-2026-42308Published May 9, 2026 · May 9Updated Oct 28
Pillow: Integer overflow when processing fonts
python-pillow Pillow
Medium5.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| pillow PyPI |
|
|
Original 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.
From the CVE record · GitHub_M