CVE-2025-15279
Heap-Based Buffer Overflow in FontForge BMP 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 GUtils BMP file parsing. 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 by tricking a user into opening a malicious BMP 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 remote attackers to execute arbitrary code on your system with the privileges of the current user. This can lead to full compromise of confidentiality, integrity, and availability of your system or data, potentially resulting in unauthorized access, data theft, or system disruption. [1]
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, avoid opening untrusted or suspicious BMP files or visiting untrusted webpages that might contain malicious BMP files. Ensure that users are aware of the risk and exercise caution when handling BMP files in FontForge. Additionally, update FontForge to a version where this vulnerability is patched once available. [1]