Advisory Details

December 29th, 2025

(0Day) FontForge SFD File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-25-1190
ZDI-CAN-28544

CVE ID CVE-2025-15274
CVSS SCORE 8.8, AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AFFECTED VENDORS FontForge
AFFECTED PRODUCTS FontForge
VULNERABILITY DETAILS

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.

ADDITIONAL DETAILS

12/12/25 - ZDI submitted the reports to the vendor via third-party platform
12/13/25 - ZDI reached out to the vendor’s GitHub account
12/13/24 – the vendor rejected the vulnerability, stating that only pull requests that include the required fixes will be considered
12/15/25 – ZDI notified the vendor of the intention to publish the case as a 0-day advisory on 12/29/25

-- Mitigation: Given the nature of the vulnerability, the only salient mitigation strategy is to restrict interaction with the product


DISCLOSURE TIMELINE
  • 2025-12-12 - Vulnerability reported to vendor
  • 2025-12-29 - Coordinated public release of advisory
  • 2025-12-29 - Advisory Updated
CREDIT Anonymous
BACK TO ADVISORIES