CVE Database›Document archive›CVE-2025-15279

CVE-2025-15279

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

Loading…

Severity

Important

Red Hat Product Security

7.8

CVSS 3.1

Review impact separately from score.

Published · December 31, 2025

Updated · July 9, 2026

Description

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.

Statement

This vulnerability is rated Important for Red Hat as it allows remote code execution via a heap-based buffer overflow in FontForge when parsing malicious BMP files. Exploitation requires user interaction, where a target must open a malicious BMP file or visit a malicious page. FontForge is available in Red Hat Enterprise Linux and Fedora distributions.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Users are advised to avoid opening untrusted or suspicious BMP files with FontForge to prevent exploitation. If FontForge is not a required application, consider removing the fontforge package to eliminate the attack surface. Removing this package may impact functionality that relies on FontForge.

CVSS / CWE

CVSS 3.1 · 7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CWE-122 · Heap-based Buffer Overflow