Buffer Overflow Affecting fig2dev package, versions <1:3.2.7a-7ubuntu0.1+esm1


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.78% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-FIG2DEV-1540128
  • published14 Jun 2025
  • disclosed10 Aug 2021

Introduced: 10 Aug 2021

CVE-2020-21683  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 fig2dev to version 1:3.2.7a-7ubuntu0.1+esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream fig2dev package and not the fig2dev package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

A global buffer overflow in the shade_or_tint_name_after_declare_color in genpstricks.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into pstricks format.

CVSS Base Scores

version 3.1