ZDI-25-1191: (0Day) FontForge PFB File Parsing Stack-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 PFB files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-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-15273.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-25-1191?
The severity of ZDI-25-1191 is high due to its potential to allow remote code execution.
How do I fix ZDI-25-1191?
To fix ZDI-25-1191, update FontForge to the latest version provided by the vendor.
What are the potential impacts of ZDI-25-1191?
The potential impacts of ZDI-25-1191 include unauthorized code execution and compromised system integrity.
Who is affected by ZDI-25-1191?
Users of FontForge are affected by ZDI-25-1191, particularly those who open untrusted files.
Is user interaction required to exploit ZDI-25-1191?
Yes, user interaction is required for the exploitation of ZDI-25-1191, such as opening a malicious file.