ZDI-CAN-27920: 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-CAN-27920?
The severity of ZDI-CAN-27920 is high, as it allows remote code execution if exploited successfully.
How do I fix ZDI-CAN-27920?
To fix ZDI-CAN-27920, update FontForge to the latest version that addresses the vulnerability.
What types of attacks can ZDI-CAN-27920 facilitate?
ZDI-CAN-27920 can facilitate remote code execution attacks by allowing attackers to execute arbitrary code on affected systems.
What is required to exploit ZDI-CAN-27920?
Exploitation of ZDI-CAN-27920 requires user interaction, such as visiting a malicious page or opening a malicious file.
Which software is affected by ZDI-CAN-27920?
ZDI-CAN-27920 affects installations of FontForge.