{"id":"UBUNTU-CVE-2025-15271","details":"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.","modified":"2026-01-20T18:16:21.808667Z","published":"2025-12-31T07:15:00Z","upstream":["CVE-2025-15271"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-15271"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-15271"},{"type":"REPORT","url":"https://www.zerodayinitiative.com/advisories/ZDI-25-1193/"}],"affected":[{"package":{"name":"fontforge","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/fontforge@20120731.b-7.1ubuntu0.1+esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20120731.b-5","20120731.b-5ubuntu1","20120731.b-7.1","20120731.b-7.1ubuntu0.1","20120731.b-7.1ubuntu0.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"20120731.b-7.1ubuntu0.1+esm1","binary_name":"fontforge"},{"binary_version":"20120731.b-7.1ubuntu0.1+esm1","binary_name":"fontforge-common"},{"binary_version":"20120731.b-7.1ubuntu0.1+esm1","binary_name":"fontforge-nox"},{"binary_version":"20120731.b-7.1ubuntu0.1+esm1","binary_name":"libfontforge-dev"},{"binary_version":"20120731.b-7.1ubuntu0.1+esm1","binary_name":"libfontforge1"},{"binary_version":"20120731.b-7.1ubuntu0.1+esm1","binary_name":"libgdraw4"},{"binary_version":"20120731.b-7.1ubuntu0.1+esm1","binary_name":"python-fontforge"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-15271.json"}},{"package":{"name":"fontforge","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/fontforge@1:20170731~dfsg-1ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:20161005~dfsg-4+deb9u1ubuntu1","1:20170731~dfsg-1","1:20170731~dfsg-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:20170731~dfsg-1ubuntu0.1~esm1","binary_name":"fontforge"},{"binary_version":"1:20170731~dfsg-1ubuntu0.1~esm1","binary_name":"fontforge-common"},{"binary_version":"1:20170731~dfsg-1ubuntu0.1~esm1","binary_name":"fontforge-nox"},{"binary_version":"1:20170731~dfsg-1ubuntu0.1~esm1","binary_name":"libfontforge-dev"},{"binary_version":"1:20170731~dfsg-1ubuntu0.1~esm1","binary_name":"libfontforge2"},{"binary_version":"1:20170731~dfsg-1ubuntu0.1~esm1","binary_name":"libgdraw5"},{"binary_version":"1:20170731~dfsg-1ubuntu0.1~esm1","binary_name":"python-fontforge"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-15271.json"}},{"package":{"name":"fontforge","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/fontforge@1:20190801~dfsg-4ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:20170731~dfsg-1build1","1:20170731~dfsg-2","1:20190801~dfsg-2","1:20190801~dfsg-2ubuntu1","1:20190801~dfsg-4","1:20190801~dfsg-4ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:20190801~dfsg-4ubuntu0.1","binary_name":"fontforge"},{"binary_version":"1:20190801~dfsg-4ubuntu0.1","binary_name":"fontforge-common"},{"binary_version":"1:20190801~dfsg-4ubuntu0.1","binary_name":"fontforge-extras"},{"binary_version":"1:20190801~dfsg-4ubuntu0.1","binary_name":"fontforge-nox"},{"binary_version":"1:20190801~dfsg-4ubuntu0.1","binary_name":"libfontforge-dev"},{"binary_version":"1:20190801~dfsg-4ubuntu0.1","binary_name":"libfontforge3"},{"binary_version":"1:20190801~dfsg-4ubuntu0.1","binary_name":"libgdraw6"},{"binary_version":"1:20190801~dfsg-4ubuntu0.1","binary_name":"python3-fontforge"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-15271.json"}},{"package":{"name":"fontforge","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/fontforge@1:20201107~dfsg-4+deb11u1build0.22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:20201107~dfsg-4","1:20201107~dfsg-4build1","1:20201107~dfsg-4+deb11u1build0.22.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:20201107~dfsg-4+deb11u1build0.22.04.1","binary_name":"fontforge"},{"binary_version":"1:20201107~dfsg-4+deb11u1build0.22.04.1","binary_name":"fontforge-common"},{"binary_version":"1:20201107~dfsg-4+deb11u1build0.22.04.1","binary_name":"fontforge-extras"},{"binary_version":"1:20201107~dfsg-4+deb11u1build0.22.04.1","binary_name":"fontforge-nox"},{"binary_version":"1:20201107~dfsg-4+deb11u1build0.22.04.1","binary_name":"libfontforge4"},{"binary_version":"1:20201107~dfsg-4+deb11u1build0.22.04.1","binary_name":"python3-fontforge"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-15271.json"}},{"package":{"name":"fontforge","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/fontforge@1:20230101~dfsg-1.1build1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:20230101~dfsg-1build1","1:20230101~dfsg-1build2","1:20230101~dfsg-1.1","1:20230101~dfsg-1.1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:20230101~dfsg-1.1build1","binary_name":"fontforge"},{"binary_version":"1:20230101~dfsg-1.1build1","binary_name":"fontforge-common"},{"binary_version":"1:20230101~dfsg-1.1build1","binary_name":"fontforge-extras"},{"binary_version":"1:20230101~dfsg-1.1build1","binary_name":"fontforge-nox"},{"binary_version":"1:20230101~dfsg-1.1build1","binary_name":"libfontforge4"},{"binary_version":"1:20230101~dfsg-1.1build1","binary_name":"python3-fontforge"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-15271.json"}},{"package":{"name":"fontforge","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/fontforge@1:20230101~dfsg-8?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:20230101~dfsg-4build1","1:20230101~dfsg-4build2","1:20230101~dfsg-7","1:20230101~dfsg-8"],"ecosystem_specific":{"binaries":[{"binary_version":"1:20230101~dfsg-8","binary_name":"fontforge"},{"binary_version":"1:20230101~dfsg-8","binary_name":"fontforge-common"},{"binary_version":"1:20230101~dfsg-8","binary_name":"fontforge-extras"},{"binary_version":"1:20230101~dfsg-8","binary_name":"fontforge-nox"},{"binary_version":"1:20230101~dfsg-8","binary_name":"libfontforge4"},{"binary_version":"1:20230101~dfsg-8","binary_name":"python3-fontforge"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-15271.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}