All reports
High

fontforge: FontForge: Remote Code Execution via malicious SFD file parsing

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-15270

Probability of exploitation in the next 30 days: 0.61%

FIRST EPSS · 2026-11-23

Description

FontForge SFD File Parsing Improper Validation of Array Index Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of FontForge. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of SFD files. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated array. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-28563.

A flaw was found in FontForge. This vulnerability allows a remote attacker to execute arbitrary code by tricking a user into opening a specially crafted SFD (Spline Font Database) file. The issue stems from improper validation of array indexes during SFD file parsing, which can lead to writing data beyond the allocated memory boundary. Successful exploitation results in arbitrary code execution in the context of the current user.