Stack-based buffer overflow in fig2dev - CVE-2020-21676
Published: June 27, 2025
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 genpstrx_text() component in genpstricks.c when converting a xfig file into pstricks format. A remote attacker can pass a specially crafted file to the application, trigger a stack-based buffer overflow and perform a denial of service (DoS) attack.
Affected software
Debian Linux
fig2dev (Debian package)
How to mitigate CVE-2020-21676
fig2dev (Debian package) - update to 1:3.2.7a-5+deb10u5