FontForge Heap-Based Buffer Overflow Vulnerability in SFD File Parsing Allowing Remote Code Execution

Vulnerability

A heap-based buffer overflow vulnerability has been identified in FontForge within the SFD file parsing component. This vulnerability allows remote attackers to execute arbitrary code on affected installations of FontForge. The issue arises from inadequate validation of user-supplied data length before it is copied to a heap-based buffer. Exploitation of this vulnerability requires user interaction, as the target must open a malicious SFD file.

Impact

Exploitation of this vulnerability allows for arbitrary code execution on the affected system, executed in the context of the user running FontForge.

Remediation

Due to the nature of this vulnerability, the recommended mitigation strategy is to limit interaction with FontForge, particularly avoiding the opening of potentially malicious SFD files.

Added: Dec 31, 2025, 7:20 AM
Updated: Dec 31, 2025, 7:20 AM

Vulnerability Rating

Custom Algorithm
spread
5.4
impact
10.0
exploitability
4.4
remediation
7.9
relevance
1.8
threat
0.0
urgency
2.9
incentive
0.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.