home / blog
2026-11-25 · high
CVE-2026-135295: Heap overflow vulnerability in FontForge
Heap overflow vulnerability in FontForge allows code execution via malformed PCF files.

CVE-2026-135295 is a heap out-of-bounds write vulnerability in the PcfReadEncodingsNames() function of FontForge. The vulnerability allows attackers to corrupt memory using negative glyph indices from truncated PCF encodings tables, via specially crafted .pcf files imported through the GUI or scripting Import() command.
The vulnerability has a CVSS score of 7.8, classified as high severity. Published on November 23, 2026 in the NVD, there are already reports on GitHub confirming the existence of exploits for this vulnerability. The potential impact includes application crashes or arbitrary code execution.
If you use FontForge, immediately check if installed versions are prior to the fix. We recommend applying patches as soon as they become available, limiting the import of files from untrusted sources, and considering the use of temporary alternative solutions. Monitor official FontForge communications for updates on fix availability.
At a glance
- What
- Heap out-of-bounds write in PcfReadEncodingsNames() function
- Severity
- High (CVSS 7.8)
- Affected versions
- FontForge versions through 20251009
- Fix
- Not reported
- Status
- Published in NVD on 11/23/2026
- Action
- Apply available patches, limit import of files from untrusted sources
Sources: NVD, CVE-2026-135295