Use-after-free in FontForge - CVE-2020-5395

 

Use-after-free in FontForge - CVE-2020-5395

Published: January 22, 2020 / Updated: March 9, 2022


Vulnerability identifier: #VU24486
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-5395
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

FontForge
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
Fedora
fontforge (Red Hat package)
fontforge

How to mitigate CVE-2020-5395

Install update from vendor's website.

fontforge (Red Hat package) - addressed in versions 20120731b-13.el7, 20170731-14.el8
fontforge - addressed in versions 20190801-2.fc31, 20190801-6.fc31

External References

Related Security Bulletins