Heap Out-of-Bounds Write Vulnerability in FontForge
CVE-2026-135295
8.5HIGH
What is CVE-2026-135295?
FontForge versions up to 20251009 are susceptible to a vulnerability that allows an attacker to perform a heap out-of-bounds write through the PcfReadEncodingsNames() function. The flaw arises when negative glyph indices from truncated PCF encoding tables are processed. By supplying a specially crafted .pcf file via the GUI or the Import() scripting command, an attacker can corrupt memory, potentially leading to crashes or remote code execution. It's crucial for users and developers to address this issue by updating to the patched version and applying necessary mitigations.
Affected Version(s)
FontForge 0 <= 20251009
