{"id":"USN-9138-1","summary":"fontforge vulnerabilities","details":"It was discovered that FontForge incorrectly handled memory when reading\nSFD files, leading to a use-after-free. If a user or automated system were\ntricked into opening a specially crafted SFD file, an attacker could\npossibly use this issue to cause FontForge to crash, resulting in a denial\nof service, or possibly execute arbitrary code. (CVE-2020-5395)\n\nIt was discovered that FontForge incorrectly handled certain SFD files,\nleading to a heap-based buffer overflow. If a user or automated system were\ntricked into opening a specially crafted SFD file, an attacker could\npossibly use this issue to cause FontForge to crash, resulting in a denial\nof service, or possibly execute arbitrary code. (CVE-2020-5496)","modified":"2026-11-18T14:28:20.001126931Z","published":"2026-11-17T17:06:33Z","related":["UBUNTU-CVE-2020-5395","UBUNTU-CVE-2020-5496"],"upstream":["CVE-2020-5395","CVE-2020-5496","UBUNTU-CVE-2020-5395","UBUNTU-CVE-2020-5496"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9138-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-5395"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-5496"}],"affected":[{"package":{"name":"fontforge","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/fontforge?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20120731.b-7.1ubuntu0.1+esm2"}]}],"versions":["20120731.b-5","20120731.b-5ubuntu1","20120731.b-7.1","20120731.b-7.1ubuntu0.1","20120731.b-7.1ubuntu0.1+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_name":"fontforge","binary_version":"20120731.b-7.1ubuntu0.1+esm2"},{"binary_version":"20120731.b-7.1ubuntu0.1+esm2","binary_name":"fontforge-common"},{"binary_version":"20120731.b-7.1ubuntu0.1+esm2","binary_name":"fontforge-nox"},{"binary_name":"libfontforge1","binary_version":"20120731.b-7.1ubuntu0.1+esm2"},{"binary_version":"20120731.b-7.1ubuntu0.1+esm2","binary_name":"libgdraw4"},{"binary_name":"python-fontforge","binary_version":"20120731.b-7.1ubuntu0.1+esm2"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2020-5395"},{"id":"CVE-2020-5496","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"score":"medium","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9138-1.json"}},{"package":{"name":"fontforge","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/fontforge?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:20170731~dfsg-1ubuntu0.1~esm2"}]}],"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~esm2","binary_name":"fontforge"},{"binary_version":"1:20170731~dfsg-1ubuntu0.1~esm2","binary_name":"fontforge-common"},{"binary_name":"fontforge-nox","binary_version":"1:20170731~dfsg-1ubuntu0.1~esm2"},{"binary_name":"libfontforge2","binary_version":"1:20170731~dfsg-1ubuntu0.1~esm2"},{"binary_version":"1:20170731~dfsg-1ubuntu0.1~esm2","binary_name":"libgdraw5"},{"binary_name":"python-fontforge","binary_version":"1:20170731~dfsg-1ubuntu0.1~esm2"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9138-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[{"id":"CVE-2020-5395","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2020-5496","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"score":"medium","type":"Ubuntu"}]}]}}},{"package":{"name":"fontforge","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/fontforge?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:20190801~dfsg-4ubuntu0.1+esm1"}]}],"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":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"1:20190801~dfsg-4ubuntu0.1+esm1","binary_name":"fontforge"},{"binary_name":"fontforge-common","binary_version":"1:20190801~dfsg-4ubuntu0.1+esm1"},{"binary_version":"1:20190801~dfsg-4ubuntu0.1+esm1","binary_name":"fontforge-extras"},{"binary_name":"fontforge-nox","binary_version":"1:20190801~dfsg-4ubuntu0.1+esm1"},{"binary_version":"1:20190801~dfsg-4ubuntu0.1+esm1","binary_name":"libfontforge3"},{"binary_version":"1:20190801~dfsg-4ubuntu0.1+esm1","binary_name":"libgdraw6"},{"binary_name":"python3-fontforge","binary_version":"1:20190801~dfsg-4ubuntu0.1+esm1"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"id":"CVE-2020-5395","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]},{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2020-5496"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9138-1.json"}}],"schema_version":"1.9.2"}