CVE-2025-15274
fontforge: FontForge: Remote Code Execution via SFD File Parsing Heap-based Buffer Overflow
Severity
ImportantRed Hat Product Security
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 an affected system. This occurs when a user is tricked into opening a specially crafted SFD file, due to improper validation of user-supplied data length during file parsing. Successful exploitation can lead to complete control over the affected system.
Statement
This vulnerability is rated Important for Red Hat products as it allows for remote code execution. Exploitation requires user interaction, where a target must open a specially crafted SFD file. This affects installations of FontForge on 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
To mitigate this issue, users should avoid opening untrusted SFD (Spline Font Database) files with FontForge. If FontForge is not required, consider removing the package to eliminate the attack surface.
To remove FontForge on Red Hat Enterprise Linux or Fedora:
sudo dnf remove fontforge
Note that removing FontForge may impact other applications that depend on it for font manipulation.
CVSS / CWE
CVSS 3.1 · 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CWE-122 · Heap-based Buffer Overflow