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, specifically within the SFD file parsing process. This vulnerability allows remote attackers to execute arbitrary code on affected installations of FontForge. Exploitation requires user interaction, as the target must open a malicious SFD file. The vulnerability arises from inadequate validation of user-supplied data length before it is copied to a heap-based buffer, enabling attackers to execute code in the context of the current user.

Impact

Exploitation of this vulnerability leads to arbitrary code execution on the affected system, with the executed code running under the context of the current user.

Remediation

Due to the nature of this vulnerability, the recommended mitigation strategy is to limit interactions with the product.

Added: Dec 31, 2025, 7:19 AM
Updated: Dec 31, 2025, 7:19 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.