CVE-2025-15277
Heap-Based Buffer Overflow in FontForge SGI 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?
CVE-2025-15277 is a remote code execution vulnerability in FontForge's GUtils SGI file parsing component. It occurs because the software does not properly validate the length of user-supplied data when parsing scanlines in SGI files, leading to a heap-based buffer overflow. An attacker can exploit this by tricking a user into opening a malicious file or visiting a malicious webpage, allowing the attacker to execute arbitrary code with the same privileges as the current process. [1]
How can this vulnerability impact me? :
This vulnerability can allow an attacker to execute arbitrary code on your system with the privileges of the FontForge process. This could lead to unauthorized access, data theft, system compromise, or disruption of services depending on the privileges of the exploited process. [1]
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, avoid opening SGI files from untrusted sources or visiting malicious webpages that may contain crafted SGI files. 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 in the SGI file parsing component. [1]