CVE-2025-15274
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 | 3.0 |
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-based 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 can allow an attacker to execute arbitrary code on your system with the same privileges as the current user. This could lead to unauthorized actions such as installing malware, stealing data, or taking control of the affected system. [1]
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, avoid opening untrusted SFD files or visiting untrusted webpages that could trigger the vulnerability in FontForge. Ensure that users are aware of the risk and do not interact with suspicious files or links. Additionally, apply any available patches or updates from FontForge once released to fix the heap-based buffer overflow issue. [1]