USN-9138-1: FontForge vulnerabilities

Publication date

17 November 2026

Overview

FontForge could be made to crash or run programs as your login if it opened a specially crafted file.


Packages

  • fontforge - Free (libre) font editor for Windows, Mac OS X and GNU+Linux

Details

It was discovered that FontForge incorrectly handled memory when reading
SFD files, leading to a use-after-free. If a user or automated system were
tricked into opening a specially crafted SFD file, an attacker could
possibly use this issue to cause FontForge to crash, resulting in a denial
of service, or possibly execute arbitrary code. (CVE-2020-5395)

It was discovered that FontForge incorrectly handled certain SFD files,
leading to a heap-based buffer overflow. If a user or automated system were
tricked into opening a specially crafted SFD file, an attacker could
possibly use this issue to cause FontForge to crash, resulting in a denial
of service, or possibly execute arbitrary code. (CVE-2020-5496)

It was discovered that FontForge incorrectly handled memory when reading
SFD files, leading to a use-after-free. If a user or automated system were
tricked into opening a specially crafted SFD file, an attacker could
possibly use this issue to cause FontForge to crash, resulting in a denial
of service, or possibly execute arbitrary code. (CVE-2020-5395)

It was discovered that FontForge incorrectly handled certain SFD files,
leading to a heap-based buffer overflow. If a user or automated system were
tricked into opening a specially crafted SFD file, an attacker could
possibly use this issue to cause FontForge to crash, resulting in a denial
of service, or possibly execute arbitrary code. (CVE-2020-5496)

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
20.04 LTS focal fontforge –  1:20190801~dfsg-4ubuntu0.1+esm1  
fontforge-nox –  1:20190801~dfsg-4ubuntu0.1+esm1  
libfontforge3 –  1:20190801~dfsg-4ubuntu0.1+esm1  
python3-fontforge –  1:20190801~dfsg-4ubuntu0.1+esm1  
18.04 LTS bionic fontforge –  1:20170731~dfsg-1ubuntu0.1~esm2  
fontforge-nox –  1:20170731~dfsg-1ubuntu0.1~esm2  
libfontforge2 –  1:20170731~dfsg-1ubuntu0.1~esm2  
python-fontforge –  1:20170731~dfsg-1ubuntu0.1~esm2  
16.04 LTS xenial fontforge –  20120731.b-7.1ubuntu0.1+esm2
fontforge-nox –  20120731.b-7.1ubuntu0.1+esm2
libfontforge1 –  20120731.b-7.1ubuntu0.1+esm2
python-fontforge –  20120731.b-7.1ubuntu0.1+esm2

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›