Skip to content
OpenAdvisories
High · 7.8 CVE-2025-15277 EUVD-2025-205889GHSA-364x-6pf8-6vwj

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

Published Dec 31, 2025 · Updated Dec 31, 2025 · Assigned by zdi

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 products

VendorProductAffectedFixed
FontForge FontForge 88de9b7dc76fbdef9069b7664ecc280f1c15ba2f —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 fontforge No fix yet —
Debian 13 fontforge No fix yet —
Debian 12 fontforge No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 fontforge No fix yet —
Ubuntu 26.04 LTS fontforge No fix yet —
Ubuntu 25.10 fontforge No fix yet —
Ubuntu 24.04 LTS fontforge No fix yet —
Ubuntu 22.04 LTS fontforge No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS fontforge No fix yet —
Ubuntu Pro 18.04 LTS fontforge No fix yet —
Ubuntu Pro 16.04 LTS fontforge No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling fontforge +7 No fix yet —

References