CVE Catalog

CVE-2026-42308

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.11%

2th percentile - higher than 2% of all known CVEs

Summary

Pillow is a Python imaging library. Prior to version 12.2.0, if a font advances each glyph by an excessively large amount, an integer overflow may occur when tracking the current position.

Risk Assessment

Integer overflow may lead to unexpected behavior, potentially allowing code execution or a crash.

Recommendation

Update Pillow to version 12.2.0 or later.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS