Buffer overflow in fig2dev - CVE-2020-21681
Published: June 27, 2025
Vulnerability identifier: #VU112005
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-21681
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 set_color component in genge.c when converting a xfig file into ge format. A remote attacker can pass a specially crafted file to the application and crash it.
Affected software
fig2dev
SUSE Linux Enterprise Workstation Extension
transfig
transfig-debuginfo
transfig-debugsource
SUSE Linux Enterprise Workstation Extension
transfig
transfig-debuginfo
transfig-debugsource
How to mitigate CVE-2020-21681
Install updates from vendor's website.
fig2dev - update to 3.2.8
transfig - update to 3.2.8b-4.15.1
transfig-debuginfo - update to 3.2.8b-4.15.1
transfig-debugsource - update to 3.2.8b-4.15.1
transfig - update to 3.2.8b-4.15.1
transfig-debuginfo - update to 3.2.8b-4.15.1
transfig-debugsource - update to 3.2.8b-4.15.1