GitHub Advisoryadvisory · PyPI

GHSA-wjx4-4jcj-g98j Pillow has an integer overflow when processing fonts

MEDIUM Published 2026-05-04 Modified 2026-06-08 Official page ↗
Aliases
CVE-2026-42308
Ecosystem
PyPI
Packages
pillow
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-190
Reviewed
2026-05-04

Affected packages

• PyPI pillow: < 12.2.0 → fixed in 12.2.0

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.

Related

Alias · CVE (1)

Weakness · CWE (1)

  • CWE-190 Integer Overflow or Wraparound weakness

References