CVE-2025-15277
FontForge GUtils SGI File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.8
FontForge GUtils SGI File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
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.
- Record
CVE-2025-15277- 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 - Weakness
- CWE-122
- Updated
- 2026-11-02
EUVDEUVD-2025-205889
7.8
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.
- Record
EUVD-2025-205889- 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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-364x-6pf8-6vwj
7.8
FontForge GUtils SGI File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability....
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.
- Record
GHSA-364x-6pf8-6vwj- 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 - Weakness
- CWE-122
- Updated
- 2026-11-02
NVD
7.8
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.
- Record
CVE-2025-15277- 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 - Weakness
- CWE-122
- Updated
- 2026-11-02
OSV
7.8
FontForge GUtils SGI File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
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.
- Record
CVE-2025-15277- 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 - Weakness
- CWE-122
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2025-15277
7.8
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.
- Record
DEBIAN-CVE-2025-15277- 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-15277
7.8
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.
- Record
UBUNTU-CVE-2025-15277- 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 - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
fontforgeDebian:12 |
All versions, plus listed versions 1:20230101~dfsg-11:20230101~dfsg-1.11:20230101~dfsg-1.1~deb12u11:20230101~dfsg-21:20230101~dfsg-3 Show 8 moreShow less1:20230101~dfsg-41:20230101~dfsg-51:20230101~dfsg-61:20230101~dfsg-71:20230101~dfsg-81:20230101~dfsg-91:20251009+git20260808~dfsg-11:20251009+git20260808~dfsg-2 |
None known |
fontforgeDebian:13 |
All versions, plus listed versions 1:20230101~dfsg-41:20230101~dfsg-51:20230101~dfsg-61:20230101~dfsg-71:20230101~dfsg-81:20230101~dfsg-91:20251009+git20260808~dfsg-11:20251009+git20260808~dfsg-2 |
None known |
fontforgeDebian:14 |
All versions, plus listed versions 1:20230101~dfsg-41:20230101~dfsg-51:20230101~dfsg-61:20230101~dfsg-71:20230101~dfsg-81:20230101~dfsg-91:20251009+git20260808~dfsg-11:20251009+git20260808~dfsg-2 |
None known |
fontforgeUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 20120731.b-520120731.b-5ubuntu120120731.b-7.120120731.b-7.1ubuntu0.120120731.b-7.1ubuntu0.1+esm1 |
None known |
fontforgeUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 1:20161005~dfsg-4+deb9u1ubuntu11:20170731~dfsg-11:20170731~dfsg-1ubuntu0.1~esm1 |
None known |
fontforgeUbuntu:20.04:LTS |
All versions, plus listed versions 1:20170731~dfsg-1build11:20170731~dfsg-21:20190801~dfsg-21:20190801~dfsg-2ubuntu11:20190801~dfsg-41:20190801~dfsg-4ubuntu0.1 |
None known |
fontforgeUbuntu:22.04:LTS |
All versions, plus listed versions 1:20201107~dfsg-41:20201107~dfsg-4build11:20201107~dfsg-4+deb11u1build0.22.04.1 |
None known |
fontforgeUbuntu:24.04:LTS |
All versions, plus listed versions 1:20230101~dfsg-1build11:20230101~dfsg-1build21:20230101~dfsg-1.11:20230101~dfsg-1.1build1 |
None known |
fontforgeUbuntu:25.10 |
All versions, plus listed versions 1:20230101~dfsg-4build11:20230101~dfsg-4build21:20230101~dfsg-71:20230101~dfsg-8 |
None known |
fontforgeUbuntu:26.10 |
All versions, plus listed versions 1:20230101~dfsg-8build11:20230101~dfsg-91:20251009+git20260808~dfsg-2 |
None known |
fontforgeUbuntu:26.04:LTS |
All versions, plus listed versions 1:20230101~dfsg-81:20230101~dfsg-8build1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-15277 is a high vulnerability (CVSS 7.8) in Fontforge, published December 31, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.29%, the 21st percentile. No source names a fixed version.
References
zerodayinitiative.com/advisories/ZDI-25-1186
nvd.nist.gov/vuln/detail/CVE-2025-15277
github.com/advisories/GHSA-364x-6pf8-6vwj
github.com/CVEProject/cvelistV5/tree/main/cves/2025/15xxx/CVE-2025-15277.json
security-tracker.debian.org/tracker/CVE-2025-15277
ubuntu.com/security/CVE-2025-15277
cve.org/CVERecord?id=CVE-2025-15277