Buffer overflow in fig2dev - CVE-2020-21683

 

Buffer overflow in fig2dev - CVE-2020-21683

Published: June 27, 2025


Vulnerability identifier: #VU112001
CSH Severity: Medium
CVSS v4.0: 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/E:U/U:Green
CVE-ID: CVE-2020-21683
CWE-ID: CWE-120
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: mcj
Affected software:
fig2dev

Detailed vulnerability description

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

The vulnerability exists due to a boundary error within the shade_or_tint_name_after_declare_color() function in fig2dev/dev/genpstricks.c when converting a xfig file into pstricks format. A remote attacker can pass a specially crafted file to the application and crash it.


How to mitigate CVE-2020-21683

Install updates from vendor's website.

Sources