ZDI-25-1189: (0Day) FontForge SFD File Parsing Heap-based Buffer Overflow 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 the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current user.
Other sources
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 ZDI has assigned a CVSS rating of 8.8. The following CVEs are assigned: CVE-2025-15275.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-25-1189?
The severity of ZDI-25-1189 is critical due to its potential for remote code execution.
How do I fix ZDI-25-1189?
To fix ZDI-25-1189, update FontForge to the latest version provided by the vendor.
What type of vulnerability is ZDI-25-1189?
ZDI-25-1189 is a heap-based buffer overflow vulnerability.
Who is affected by ZDI-25-1189?
Users of FontForge are affected by ZDI-25-1189.
Is user interaction required to exploit ZDI-25-1189?
Yes, user interaction is required as the target must visit a malicious site to exploit ZDI-25-1189.