CVE-2025-15279
JSON

7.8high

FontForge GUtils BMP File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

Severity
7.8high CVSS:3.0 by zdi
Exploit likelihood
0.32% (higher than 26% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
zdi

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.

Affected

Product or packageVersionsReported by
FontForge FontForge387146a241b36bcdf6ce229c5a3fe367ed3854a1, 20251009CVE List, NVD

Classification

CWE-122

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Vulnerabilidad de ejecución remota de código por desbordamiento de búfer basado en montículo en el análisis de archivos BMP de FontForge GUtils. Esta vulnerabilidad permite a atacantes remotos ejecutar código arbitrario en instalaciones afectadas de FontForge. Se requiere interacción del usuario para explotar esta vulnerabilidad, ya que el objetivo debe visitar una página maliciosa o abrir un archivo malicioso. La falla específica existe en el análisis de píxeles dentro de archivos BMP. El problema resulta de la falta de validación adecuada de la longitud de los datos proporcionados por el usuario antes de copiarlos a un búfer basado en montículo. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto del usuario actual. Fue ZDI-CAN-27517.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-15279 changed 2025-12-31CVE Terms of Use
NVDCVE-2025-15279 changed 2026-06-17Public domain