Use-after-free in FontForge - CVE-2020-5395
Published: January 22, 2020 / Updated: March 9, 2022
Vulnerability details
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a use-after-free error in "SFD_GetFontMetaData()" function in sfd.c. A remote attacker can execute arbitrary code on the target system.
Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.
Affected software
Gentoo Linux
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
Opensuse
Ubuntu
Fedora
fontforge-nox (Ubuntu package)
libfontforge1 (Ubuntu package)
python-fontforge (Ubuntu package)
fontforge (Ubuntu package)
libfontforge2 (Ubuntu package)
libfontforge3 (Ubuntu package)
python3-fontforge (Ubuntu package)
fontforge (Red Hat package)
fontforge
How to mitigate CVE-2020-5395
libfontforge1 (Ubuntu package) - update to 20120731.b-7.1ubuntu0.1+esm2
python-fontforge (Ubuntu package) - addressed in versions 20120731.b-7.1ubuntu0.1+esm2, 1:20170731~dfsg-1ubuntu0.1~esm2
fontforge (Ubuntu package) - addressed in versions 20120731.b-7.1ubuntu0.1+esm2, 1:20170731~dfsg-1ubuntu0.1~esm2, 1:20190801~dfsg-4ubuntu0.1+esm1
libfontforge2 (Ubuntu package) - update to 1:20170731~dfsg-1ubuntu0.1~esm2
libfontforge3 (Ubuntu package) - update to 1:20190801~dfsg-4ubuntu0.1+esm1
python3-fontforge (Ubuntu package) - update to 1:20190801~dfsg-4ubuntu0.1+esm1
fontforge (Red Hat package) - addressed in versions 20120731b-13.el7, 20170731-14.el8
fontforge - addressed in versions 20190801-2.fc31, 20190801-6.fc31