CVE Database›Document archive›CVE-2025-15272

CVE-2025-15272

fontforge: FontForge: Remote Code Execution via SFD File Parsing

Loading…

Severity

Important

Red Hat Product Security

8.8

CVSS 3.1

Review impact separately from score.

Published · December 31, 2025

Updated · July 6, 2026

Description

A flaw was found in FontForge. This heap-based buffer overflow vulnerability allows a remote attacker to execute arbitrary code on the system. The flaw occurs during the parsing of SFD (Spline Font Database) files due to insufficient validation of user-supplied data length. Successful exploitation requires user interaction, such as opening a specially crafted malicious SFD file.

Statement

This vulnerability is rated Important for Red Hat products. A heap-based buffer overflow in FontForge, occurring during SFD file parsing, allows a remote attacker to execute arbitrary code. Exploitation requires user interaction, specifically opening a specially crafted malicious SFD file. This affects FontForge in Red Hat Enterprise Linux and Fedora.

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 should avoid opening SFD (Spline Font Database) files from untrusted sources. If FontForge is not essential for system operation, consider removing the fontforge package. To remove the package on Red Hat Enterprise Linux: sudo dnf remove fontforge. Removing this package may impact functionality for applications that rely on FontForge.

CVSS / CWE

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

CWE-122 · Heap-based Buffer Overflow