FontForge through 20251009 Heap Out-of-Bounds Write via PCF Encodings Table
- State
- Published
- Severity
- 8.5 High
- Published
- Nov 23, 2026
- Updated
- Nov 23, 2026
- Reserved
- Nov 23, 2026
Description
FontForge through 20251009 contains a heap out-of-bounds write vulnerability in PcfReadEncodingsNames() that allows attackers to corrupt memory via negative glyph indices from truncated PCF encodings tables. Attackers can supply a crafted .pcf file imported through the GUI or scripting Import() command to write before the encs array, causing crashes or potential code execution.
| Product | Versions |
|---|---|
| FontForge FontForge | 20251009 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.5 High | VulnCheck | |
| 3.1 | 7.8 High | VulnCheck |
Weaknesses
- CWE-787 Out-of-bounds Write
References
- https://github.com/fontforge/fontforge/pull/5957Issue TrackerPatch
- https://github.com/fontforge/fontforge/commit/65e80b5dfb6691a1c8a532cfbb8ec905949e0c9aPatch
- https://github.com/fontforge/fontforge/blob/20251009/fontforge/fvimportbdf.c#L1719-L1755Technical Details
- VulnCheck Advisory: FontForge through 20251009 Heap Out-of-Bounds Write via PCF Encodings TableThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.