Double free in Pillow - CVE-2026-112893

 

Double free in Pillow - CVE-2026-112893

Published: November 3, 2026


Vulnerability identifier: #VU158912
CSH Severity: Medium
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-112893
CWE-ID: CWE-415
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

Pillow

How to mitigate CVE-2026-112893

Install security update from vendor's website.

Pillow - update to 13.0.0

External References

Related Security Bulletins