CVE-2025-15272
Heap-Based Buffer Overflow in FontForge SFD Parsing Enables RCE
Publication date: 2025-12-31
Last updated on: 2025-12-31
Assigner: Zero Day Initiative
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| fontforge | fontforge | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-122 | A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a heap-based buffer overflow in FontForge's parsing of SFD files. It occurs because the software does not properly validate the length of user-supplied data before copying it into a heap buffer. An attacker can exploit this flaw by tricking a user into opening a malicious file or visiting a malicious webpage, which allows the attacker to execute arbitrary code with the current user's privileges. [1]
How can this vulnerability impact me? :
If exploited, this vulnerability allows an attacker to execute arbitrary code on your system with the same privileges as the current user. This can lead to unauthorized access, data theft, system compromise, or disruption of services. Since the attack requires user interaction, the risk depends on the likelihood of opening malicious files or visiting malicious websites. [1]
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, avoid opening untrusted or suspicious SFD files and do not visit untrusted webpages that might host malicious SFD files. Ensure that your FontForge installation is updated with any patches or security updates provided by the vendor once available. Additionally, consider restricting user permissions to limit the impact of potential exploitation. [1]