cve.bz

CVE-2025-15271 fontforge fontforge: Improper Validation of Array Index

8.8 highEPSS 0.6%

High (8.8) in fontforge fontforge. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

8.8 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 50th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-12-31. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-129 Improper Validation of Array Index
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2025-15271 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-15271?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-15271?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-15271 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
fontforge:fontforge2025-11-17

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14fontforgeno fix listedDEBIAN-CVE-2025-15271
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 5 morefontforgeno fix listedUBUNTU-CVE-2025-15271

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated Important for Red Hat products as it allows for remote code execution in FontForge. Exploitation requires user interaction, specifically opening a specially crafted SFD file. This affects FontForge as shipped in Red Hat Enterprise Linux 6 ELS, 7 ELS, 8, 9, 10, Fedora, and Red Hat In-Vehicle OS.

Red Hat's mitigation

To mitigate this issue, users should exercise caution when handling SFD (Spline Font Database) files from untrusted sources. Avoid opening SFD files from unknown or suspicious origins. If FontForge is not actively used, consider removing the `fontforge` package to eliminate the attack surface. This can be done using `sudo dnf remove fontforge` on Red Hat Enterprise Linux 8, 9, 10, and Fedora, or `sudo yum remove fontforge` on Red Hat Enterprise Linux 6 ELS and 7 ELS. Removing this package will remove FontForge functionality.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10fontforgeAffected
Red Hat Enterprise Linux 6fontforgeOut of support scope
Red Hat Enterprise Linux 7fontforgeAffected
Red Hat Enterprise Linux 8fontforgeAffected
Red Hat Enterprise Linux 9fontforgeAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-15271.

Attack patterns (CAPEC)

  • CAPEC-100 Overflow Buffers Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON