ADVISORIES

Vulnerability

CVE-2026-42308

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.

21 advisories report this vulnerability, across 8 ecosystems.

Advisories in PyPI

  • GHSA-wjx4-4jcj-g98j

    Pillow has an integer overflow when processing fonts

    Moderate CVE-2026-42308 PyPI Updated 10 September 2026
  • PYSEC-2026-165

    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…

    CVE-2026-42308 PyPI Updated 27 May 2026

References