FontForge Heap Out-of-Bounds Write via PCF Encodings Table
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
FontForge through 20251009 contains a heap out-of-bounds write in PcfReadEncodingsNames(). Negative glyph indices from a truncated PCF encodings table let attackers corrupt memory before the encs array. An attacker supplies a crafted .pcf file, imported through the GUI or the scripting Import() command, which can cause crashes or potential code execution. The weakness is CWE-787, with a CVSS 4.0 base score of 8.5 (HIGH); CISA has not added it to KEV, and the references list no exploit link.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fix is listed for FontForge through 20251009. Red Hat rates the issue Important and lists Red Hat Enterprise Linux 6, 7, 8, 9 and 10 as affected without a fix: no fix is planned for RHEL 6, and none is available for RHEL 7, 8, 9 or 10. Until a fixed build is released, open only .pcf files from trusted sources, because the attack requires a crafted file imported through the GUI or Import().
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
Timeline
- 2026-11-23 Threatist record created from CVE-2026-135295
- 2026-11-23 Alias added: GHSA-gwm8-gjc3-xjqq
- 2026-11-23 CISA SSVC decision points changed
- 2026-11-27 Affected versions changed · Red Hat
- 2026-11-27 CVSS score added · Red Hat
References
More FontForge vulnerabilities
- TI-2025-32277 FontForge v20230101 was discovered to contain a memory leak via the utf7toutf8_copy function at /fontforge/sfd.c. CVSS 3.1MEDIUM 6.5
- TI-2025-32275 FontForge v20230101 was discovered to contain a memory leak via the component DlgCreate8. CVSS 3.1MEDIUM 6.5
- TI-2019-11856 FontForge 20190813 through 20190820 has a buffer overflow in PrefsUI_LoadPrefs in prefs.c. CVSS 3.0CRITICAL 9.8
- TI-2020-04474 FontForge 20190801 has a heap-based buffer overflow in the Type2NotDefSplines() function in splinesave.c. CVSS 3.1HIGH 8.8
- TI-2020-04441 FontForge 20190801 has a use-after-free in SFD_GetFontMetaData in sfd.c. CVSS 3.1HIGH 8.8
- TI-2025-13955 Use after free in FontForge CVSS 3.0HIGH 8.8
Sources
- CVE-2026-135295 · CVE Program
- CVE-2026-135295 · NVD
- FIRST EPSS
- GHSA-gwm8-gjc3-xjqq · GitHub Advisory Database · CC BY 4.0
- CVE-2026-135295 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences