PYSEC-2026-165

At a glance

Published
Updated
CVE
CVE-2026-42308
Aliases
BIT-pillow-2026-42308, GHSA-wjx4-4jcj-g98j
CVSS_V3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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.

Affected packages

PackageVersions
PyPI · pillowintroduced 0, fixed 12.2.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database