Pillow has an integer overflow when processing fonts — CVE-2026-42308
GitHub · GitHub · CVE-2026-42308
ID
CVE-2026-42308
CVE-2026-42308
Date
Updated
Activity
Source
GitHub
GitHub
Vendor
GitHub
GitHub
Threat
medium
medium
CVSS
5.1
5.1
EPSS
0.00014
0.00014
Summary
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.
Product
pip: pillow
What to do
General, cautious steps (verify details in the official source):
- Review exposure and plan remediation based on risk and environment.
- Identify affected product versions in your inventory and verify whether you are impacted.
- Apply vendor patches/updates or recommended mitigations as soon as available.
- Read the official advisory for exact affected versions and remediation steps.