CVE-2025-15278
Integer Overflow in FontForge XBM Parsing Enables Remote Code Execution
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-190 | The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a remote code execution flaw in FontForge's GUtils XBM file parsing component. It occurs because the software does not properly validate user-supplied pixel data in XBM files, leading to an integer overflow before allocating memory. An attacker can exploit this by tricking a user into opening a malicious file or visiting a malicious webpage, which allows the attacker to execute arbitrary code within the context of the current process. [1]
How can this vulnerability impact me? :
If exploited, this vulnerability can allow an attacker to execute arbitrary code on your system with the privileges of the user running FontForge. This can lead to unauthorized access, data theft, system compromise, or disruption of services, impacting confidentiality, integrity, and availability of your system. [1]
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, avoid opening untrusted or suspicious XBM files or visiting untrusted webpages that might contain malicious XBM files. Ensure that users are aware of the risk and do not interact with potentially malicious content. Additionally, update FontForge to a version where this vulnerability is patched once available. [1]