CVE-2026-112893

Pillow: Invalid free in FreeType glyph rendering when a stroker is active

State
Published
Severity
8.2 High
Published
Oct 19, 2026
Updated
Oct 28, 2026
Reserved
Oct 19, 2026

Read the record on cve.org

Description

Pillow is a Python imaging library. From 10.0.0 until 13.0.0, Pillow can free an invalid glyph pointer during FreeType rendering with an active stroker. If FT_Load_Glyph fails, cleanup may call FT_Done_Glyph on an uninitialized or stale glyph variable. An attacker can supply a malformed font as untrusted bytes to an application that draws text with a nonzero stroke width, forcing the glyph-load failure path. This can corrupt memory or crash the process. This issue is fixed in version 13.0.0.

Scores

CVSSScoreVectorSource
4.08.2 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-457 Use of Uninitialized Variable
  • CWE-763 Release of Invalid Pointer or Reference

Affected Products

ProductVersions
Pillowpython-pillow
  • >= 10.0.0, < 13.0.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.