GHSA-wjx4-4jcj-g98j

Pillow has an integer overflow when processing fonts

At a glance

Published
Updated
CVE
CVE-2026-42308
Aliases
BIT-pillow-2026-42308, PYSEC-2026-165
CVSS_V3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS_V4
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Description

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.

Affected packages

PackageVersions
PyPI · pillowintroduced 0, fixed 12.2.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database