CVE-2025-15270 FontForge SFD File Parsing Improper Validation of Array Index Remote Code Execution Vulnerability

High 8.8 Published Updated

Remote attackers can execute arbitrary code by tricking users into opening malicious SFD files due to improper array index validation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-15270?

CVE-2025-15270 is a high-severity memory corruption vulnerability in FontForge, published on 31 Dec 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

FontForge SFD File Parsing Improper Validation of Array Index 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 SFD files. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated array. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-28563.

Weakness: CWE-129

Which versions are affected by CVE-2025-15270?

It affects 1 product.

Linux distribution packages (21)
fontforge AlmaLinux:10All versions20230101-15.el10_1
fontforge AlmaLinux:9All versions20201107-8.el9_7
fontforge Red Hat:enterprise_linux:10.1All versions0:20230101-15.el10_1
fontforge-debuginfo Red Hat:enterprise_linux:10.1All versions0:20230101-15.el10_1
fontforge-debugsource Red Hat:enterprise_linux:10.1All versions0:20230101-15.el10_1
fontforge Red Hat:enterprise_linux:9::crbAll versions0:20201107-8.el9_7
fontforge-debuginfo Red Hat:enterprise_linux:9::crbAll versions0:20201107-8.el9_7
fontforge-debugsource Red Hat:enterprise_linux:9::crbAll versions0:20201107-8.el9_7
fontforge Red Hat:enterprise_linux_eus:10.0All versions0:20230101-15.el10_0
fontforge-debuginfo Red Hat:enterprise_linux_eus:10.0All versions0:20230101-15.el10_0
fontforge-debugsource Red Hat:enterprise_linux_eus:10.0All versions0:20230101-15.el10_0
fontforge Red Hat:rhel_eus:9.4::crbAll versions0:20201107-7.el9_4
fontforge-debuginfo Red Hat:rhel_eus:9.4::crbAll versions0:20201107-7.el9_4
fontforge-debugsource Red Hat:rhel_eus:9.4::crbAll versions0:20201107-7.el9_4
fontforge Red Hat:rhel_eus:9.6::crbAll versions0:20201107-8.el9_6
fontforge-debuginfo Red Hat:rhel_eus:9.6::crbAll versions0:20201107-8.el9_6
fontforge-debugsource Red Hat:rhel_eus:9.6::crbAll versions0:20201107-8.el9_6
fontforge Rocky Linux:10All versions0:20230101-15.el10_1
fontforge Rocky Linux:9All versions0:20201107-8.el9_7
fontforge openSUSE:Leap 16.0All versions20251009-160000.2.1
fontforge openSUSE:TumbleweedAll versions20251009-6.1

Products include Fontforge Fontforge.

How do I fix CVE-2025-15270?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-15270 being exploited?

There is no known exploitation of CVE-2025-15270 in the wild and no public exploit code.

Sources

Also known as ALSA-2026:6628, ALSA-2026:6631, DEBIAN-CVE-2025-15270, GHSA-hp8x-4h95-9799, RHSA-2026:6628, RHSA-2026:6631 and 10 more.

Is CVE-2025-15270 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free