Read the docs

FontForge Heap Out-of-Bounds Write via PCF Encodings Table

Priority LOW 38CWE-787Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00196 5th percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
FontForgeFontForgeup to 20251009—No fix listedCNA
  • FontForge VendorFontForge Affected up to 20251009 Fixed in — No fix listed CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:fontforge:fontforge:*:*:*:*:*:*:*:*——FontForge
  • cpe:2.3:a:fontforge:fontforge:*:*:*:*:*:*:*:* Versions — — ·FontForge

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 →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo fix yet
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix yet
Red Hat Enterprise Linux 8AffectedNo fix yet
Red Hat Enterprise Linux 9AffectedNo fix yet

Timeline

  1. 2026-11-23 Threatist record created from CVE-2026-135295
  2. 2026-11-23 Alias added: GHSA-gwm8-gjc3-xjqq
  3. 2026-11-23 CISA SSVC decision points changed
  4. 2026-11-27 Affected versions changed · Red Hat
  5. 2026-11-27 CVSS score added · Red Hat

References

  • 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
See all 32 →

Sources