cve.bz

CVE-2025-15277 fontforge fontforge: Heap-based Buffer Overflow

7.8 highEPSS 0.3%

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

On this page
FontForge GUtils SGI File Parsing Heap-based Buffer Overflow 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 scanlines within SGI files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-27920.

Severity

CVSS 3.0

7.8 high
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 22nd 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-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2025-15277 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-15277?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-15277?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-15277 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:fontforge20251009

Linux distributions

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

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. Exploitation requires user interaction, specifically opening a specially crafted SGI file in FontForge. This impacts systems where FontForge is installed and used to process untrusted image files, such as in desktop environments.

Red Hat's mitigation

Avoid opening untrusted SGI (Silicon Graphics Image) files with FontForge. If FontForge is not essential for system operation, consider removing the package to eliminate the attack surface.

To remove FontForge:

For Red Hat Enterprise Linux 7 and 8:

`sudo yum remove fontforge`

For Red Hat Enterprise Linux 9 and 10, and Fedora:

`sudo dnf remove fontforge`

Removing FontForge may affect other applications that depend on its functionality. A system restart may be required to ensure all related processes are terminated.

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-15277.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

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

References

Check your stackJSON