Impact
Pillow, a popular Python imaging library, has a flaw in its FreeType glyph rendering when a stroker is active. If FT_Load_Glyph fails, the cleanup code may call FT_Done_Glyph on an uninitialized or stale glyph pointer, which can corrupt memory or crash the process due to improper deallocation (CWE‑457, CWE‑763).
Affected Systems
The vulnerability affects any installation of Pillow between versions 10.0.0 and 12.x inclusive. Applications that use Pillow to render text with a non‑zero stroke width and that accept font data from external sources are vulnerable. This includes many web frameworks, desktop graphic tools, and any custom scripts that process user‑supplied images or typography.
Risk and Exploitability
The CVSS score of 8.2 indicates a high severity. The EPSS score is not available and the issue is not listed in CISA’s KEV catalog, suggesting limited evidence of current exploitation. Based on the description, it is inferred that an attacker can trigger the failure by delivering a malformed font file as untrusted bytes to an application that renders text with a stroker, typically via file uploads, web service interfaces, or local file loading. Exploitation requires that the application load the font with a stroker enabled, which is common in graphic libraries that support styled text.
OpenCVE Enrichment
Github GHSA