Buffer overflow in fig2dev - CVE-2020-21532

 

Buffer overflow in fig2dev - CVE-2020-21532

Published: June 27, 2025


Vulnerability identifier: #VU112011
CSH Severity: Medium
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-21532
CWE-ID: CWE-120
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error within the setfigfont() function in genepic.c. A remote attacker can pass a specially crafted file to the application and crash it.


Affected software

fig2dev
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
HPE Helion Openstack
SUSE Linux Enterprise Debuginfo
SUSE Linux Enterprise Point of Sale
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Workstation Extension
Anolis OS
transfig
transfig-debuginfo
transfig-debugsource
transfig-doc

How to mitigate CVE-2020-21532

Install updates from vendor's website.

fig2dev - update to 3.2.8
transfig - addressed in versions 3.2.8b-2.20.1, 3.2.8b-4.15.1, 3.2.8b-160.16.2
transfig-debuginfo - addressed in versions 3.2.8b-2.20.1, 3.2.8b-4.15.1, 3.2.8b-160.16.2
transfig-debugsource - addressed in versions 3.2.8b-2.20.1, 3.2.8b-4.15.1, 3.2.8b-160.16.2
transfig - update to 3.2.9-1
transfig-doc - update to 3.2.9-1

External References

Related Security Bulletins