NetSight
medium5.5

CVE-2026-42308

Pillow has an integer overflow when processing fonts

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
pippillow< 12.2.012.2.0

Affected products

VendorProductAffected versions
PythonPillow
before 12.2.0

Weakness classification

References