ZDI-25-1186: (0Day) FontForge GUtils SGI 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 scanlines within SGI 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 process.
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 7.8. The following CVEs are assigned: CVE-2025-15277.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-25-1186?
ZDI-25-1186 is classified as a critical vulnerability due to its potential for remote code execution.
How do I fix ZDI-25-1186?
To fix ZDI-25-1186, users should update to the latest version of FontForge that addresses this vulnerability.
Who is affected by ZDI-25-1186?
Any installation of FontForge that has not been updated to the latest version is potentially affected by ZDI-25-1186.
What type of attack does ZDI-25-1186 involve?
ZDI-25-1186 involves a remote code execution attack that requires user interaction with a malicious page or file.
Is user interaction required to exploit ZDI-25-1186?
Yes, user interaction is required for the exploitation of ZDI-25-1186.