CVE-2026-42308

Severity CVSS v4.0:
MEDIUM
Type:
CWE-190 Integer Overflow or Wraparound
Publication date:
09/05/2026
Last modified:
12/05/2026

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* 12.2.0 (excluding)