CVE-2025-15271 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
None listed

What is CVE-2025-15271?

CVE-2025-15271 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-28562.

Weakness: CWE-129

Which versions are affected by CVE-2025-15271?

It affects 1 product.

Products include Fontforge Fontforge.

How do I fix CVE-2025-15271?

No fix has been published for CVE-2025-15271 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2025-15271 being exploited?

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

Sources

Also known as DEBIAN-CVE-2025-15271, GHSA-gwg7-r3vr-jqwf, UBUNTU-CVE-2025-15271.

Is CVE-2025-15271 in your software?

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

Check your SBOMs for free