CVE-2025-15278
Unknown Unknown - Not Provided
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
FontForge GUtils XBM File Parsing Integer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of FontForge. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of pixels within XBM files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-27865.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-31
Last Modified
2025-12-31
Generated
2026-05-06
AI Q&A
2025-12-31
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
fontforge fontforge *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart