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

Vulnerability

A heap-based buffer overflow vulnerability has been identified in FontForge within the GUtils component, specifically related to the parsing of scanlines in SGI files. This vulnerability allows remote attackers to execute arbitrary code on affected installations of FontForge. The issue arises from inadequate validation of user-supplied data lengths before copying them to a heap-based buffer. Exploitation of this vulnerability requires user interaction, as the target must open a malicious SGI file.

Impact

Exploitation of this vulnerability allows for arbitrary code execution on the affected system, with the executed code running in the context of the current process.

Remediation

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

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