All reports
High

fontforge: FontForge: Remote Code Execution via heap-based buffer overflow in BMP file parsing

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-15279

Probability of exploitation in the next 30 days: 0.29%

FIRST EPSS · 2026-11-20

Description

FontForge GUtils BMP File Parsing Heap-based Buffer 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 BMP files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-27517.

A flaw was found in FontForge. This heap-based buffer overflow vulnerability occurs during the parsing of pixels within BMP (Bitmap) files, due to insufficient validation of user-supplied data length. A remote attacker could exploit this by tricking a user into opening a malicious BMP file or visiting a malicious page. Successful exploitation could lead to arbitrary code execution in the context of the current user.