Vulnerability · Published Dec 31, 2025 · Assigned by zdi

CVE-2025-15277FontForge GUtils SGI File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

High 7.8

In plain English

A high-severity heap buffer overflow in FontForge from FontForge. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities).

Severity (CVSS 3.0)7.8High
Exploit odds (30 days)0.3%top 78.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12fontforgeno fix listedDEBIAN-CVE-2025-15277
Debian:13fontforgeno fix listedDEBIAN-CVE-2025-15277
Debian:14fontforgeno fix listedDEBIAN-CVE-2025-15277
Ubuntu:22.04:LTSfontforgeno fix listedUBUNTU-CVE-2025-15277
Ubuntu:24.04:LTSfontforgeno fix listedUBUNTU-CVE-2025-15277
Ubuntu:25.10fontforgeno fix listedUBUNTU-CVE-2025-15277
Ubuntu:26.04:LTSfontforgeno fix listedUBUNTU-CVE-2025-15277
Ubuntu:26.10fontforgeno fix listedUBUNTU-CVE-2025-15277

Affected products (as reported)

VendorProductVersions
FontForge FontForge 88de9b7dc76fbdef9069b7664ecc280f1c15ba2f

Weakness: CWE-122 · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References