Double free in Pillow - CVE-2026-112893
Published: November 3, 2026
Vulnerability details
The vulnerability allows a remote attacker to potentially cause a denial of service by crashing an application that renders text using an untrusted font.
The vulnerability exists due to an invalid or double free in Pillow's FreeType glyph-rendering cleanup in src/_imagingft.c when processing a glyph load failure while drawing text with a non-zero stroke width. A remote attacker can supply a malformed font that causes FT_Load_Glyph to fail, causing the cleanup path to call FT_Done_Glyph on an uninitialized or previously freed glyph pointer and potentially crash the application.