CVE-2026-42308

medium
Published 2026-05-09 · Modified 2026-05-27
CVSS v3
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v2
VIR risk
5.5

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.

Predictions

Exploit likelihood
55%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2026-42308

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2026-42308.html

vendor Authored 2026-05-27

Vendor advisory: security-advisories@github.com — https://github.com/python-pillow/Pillow/security/advisories/GHSA-wjx4-4jcj-g98j

vendor Authored 2026-05-27

Vendor advisory: security-advisories@github.com — https://github.com/python-pillow/Pillow/releases/tag/12.2.0

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormaffected
debian debianbullseyeaffected
debian debianforkyfixed12.2.0-1
debian debiansidfixed12.2.0-1
debian debiantrixieaffected

Package impact

EcosystemPackageVulnerableFixed
python PyPIpillow<12.2.012.2.0
PIPpillow< 12.2.012.2.0

Application impact

VendorProductVersionsFixed
pythonpillow{"endExcluding":"12.2.0"}12.2.0

References

CWEs

CWE-190

Verify integrity in audit chain (admin only). AS-IS.