Every CVE Search/ Get API key

CVE-2020-21682

A global buffer overflow in the set_fill component in genge.c of fig2dev 3.2.7b allows attackers...

5.5 MediumFix available

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

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.85%Up 0.3 points since Aug 11, 2021
90%50%10%1%

What each source reports

NVD Score used 5.5

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

Record
CVE-2020-21682
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-120
Updated
2026-11-02
CVE List No score

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

Record
CVE-2020-21682
Updated
2026-11-02
EUVDEUVD-2020-14450 No score

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

Record
EUVD-2020-14450
Updated
2026-11-03
GitHub AdvisoriesGHSA-f38c-75f7-6g7p 5.5

A global buffer overflow in the set_fill component in genge.c of fig2dev 3.2.7b allows attackers...

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

Record
GHSA-f38c-75f7-6g7p
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-120
Updated
2026-11-02
OSV 5.5

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

Record
CVE-2020-21682
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2020-21682 5.5

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

Record
DEBIAN-CVE-2020-21682
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 10 moreShow less
OSVUBUNTU-CVE-2020-21682 5.5

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

Record
UBUNTU-CVE-2020-21682
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2021:1439-1 No score

Security update for transfig

This update for transfig fixes the following issues:

Update to fig2dev version 3.2.8 Patchlevel 8b (Aug 2021)

  • bsc#1190618, CVE-2020-21529: stack buffer overflow in the bezier_spline function in genepic.c.
  • bsc#1190615, CVE-2020-21530: segmentation fault in the read_objects function in read.c.
  • bsc#1190617, CVE-2020-21531: global buffer overflow in the conv_pattern_index function in gencgm.c.
  • bsc#1190616, CVE-2020-21532: global buffer overflow in the setfigfont function in genepic.c.
  • bsc#1190612, CVE-2020-21533: stack buffer overflow in the read_textobject function in read.c.
  • bsc#1190611, CVE-2020-21534: global buffer overflow in the get_line function in read.c.
  • bsc#1190607, CVE-2020-21535: segmentation fault in the gencgm_start function in gencgm.c.
  • bsc#1192019, CVE-2021-32280: NULL pointer dereference in compute_closed_spline() in trans_spline.c

This update was imported from the SUSE:SLE-15:Update update project.

Record
openSUSE-SU-2021:1439-1
Updated
2026-11-02
OSVopenSUSE-SU-2021:1458-1 No score

Security update for transfig

This update for transfig fixes the following issues:

Update to fig2dev version 3.2.8 Patchlevel 8b (Aug 2021)

  • bsc#1190618, CVE-2020-21529: stack buffer overflow in the bezier_spline function in genepic.c.
  • bsc#1190615, CVE-2020-21530: segmentation fault in the read_objects function in read.c.
  • bsc#1190617, CVE-2020-21531: global buffer overflow in the conv_pattern_index function in gencgm.c.
  • bsc#1190616, CVE-2020-21532: global buffer overflow in the setfigfont function in genepic.c.
  • bsc#1190612, CVE-2020-21533: stack buffer overflow in the read_textobject function in read.c.
  • bsc#1190611, CVE-2020-21534: global buffer overflow in the get_line function in read.c.
  • bsc#1190607, CVE-2020-21535: segmentation fault in the gencgm_start function in gencgm.c.
  • bsc#1192019, CVE-2021-32280: NULL pointer dereference in compute_closed_spline() in trans_spline.c

This update was imported from the SUSE:SLE-15:Update update project. This update was imported from the openSUSE:Leap:15.2:Update update project.

Record
openSUSE-SU-2021:1458-1
Updated
2026-11-02
OSVopenSUSE-SU-2021:1481-1 No score

Security update for transfig

This update for transfig fixes the following issues:

Update to fig2dev version 3.2.8 Patchlevel 8b (Aug 2021)

  • bsc#1190618, CVE-2020-21529: stack buffer overflow in the bezier_spline function in genepic.c.
  • bsc#1190615, CVE-2020-21530: segmentation fault in the read_objects function in read.c.
  • bsc#1190617, CVE-2020-21531: global buffer overflow in the conv_pattern_index function in gencgm.c.
  • bsc#1190616, CVE-2020-21532: global buffer overflow in the setfigfont function in genepic.c.
  • bsc#1190612, CVE-2020-21533: stack buffer overflow in the read_textobject function in read.c.
  • bsc#1190611, CVE-2020-21534: global buffer overflow in the get_line function in read.c.
  • bsc#1190607, CVE-2020-21535: segmentation fault in the gencgm_start function in gencgm.c.
  • bsc#1192019, CVE-2021-32280: NULL pointer dereference in compute_closed_spline() in trans_spline.c

This update was imported from the SUSE:SLE-15:Update update project. This update was imported from the openSUSE:Leap:15.2:Update update project.

Record
openSUSE-SU-2021:1481-1
Updated
2026-11-02
OSVopenSUSE-SU-2021:3584-1 No score

Security update for transfig

This update for transfig fixes the following issues:

Update to fig2dev version 3.2.8 Patchlevel 8b (Aug 2021)

  • bsc#1190618, CVE-2020-21529: stack buffer overflow in the bezier_spline function in genepic.c.
  • bsc#1190615, CVE-2020-21530: segmentation fault in the read_objects function in read.c.
  • bsc#1190617, CVE-2020-21531: global buffer overflow in the conv_pattern_index function in gencgm.c.
  • bsc#1190616, CVE-2020-21532: global buffer overflow in the setfigfont function in genepic.c.
  • bsc#1190612, CVE-2020-21533: stack buffer overflow in the read_textobject function in read.c.
  • bsc#1190611, CVE-2020-21534: global buffer overflow in the get_line function in read.c.
  • bsc#1190607, CVE-2020-21535: segmentation fault in the gencgm_start function in gencgm.c.
  • bsc#1192019, CVE-2021-32280: NULL pointer dereference in compute_closed_spline() in trans_spline.c
Record
openSUSE-SU-2021:3584-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11472-1 No score

transfig-3.2.8a-5.1 on GA media

These are all security issues fixed in the transfig-3.2.8a-5.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11472-1
Updated
2026-11-02
OSVSUSE-SU-2021:14823-1 No score

Security update for transfig

This update for transfig fixes the following issues:

  • CVE-2021-3561: Fixed global buffer overflow in fig2dev/read.c in function read_colordef() (bsc#1186329).

  • CVE-2019-19797: Fixed out-of-bounds write in read_colordef in read.c (bsc#1159293).

  • CVE-2019-19746: Fixed segmentation fault and out-of-bounds write because of an integer overflow via a large arrow type (bsc#1159130).

  • CVE-2019-19555: Fixed stack-based buffer overflow because of an incorrect sscanf (bsc#1161698).

  • CVE-2019-14275: Fixed stack-based buffer overflow in the calc_arrow function in bound.c (bsc#1143650).

  • CVE-2020-21680: Fixed a stack-based buffer overflow in the put_arrow() component in genpict2e.c (bsc#1189343).

  • CVE-2020-21681: Fixed a global buffer overflow in the set_color component in genge.c (bsc#1189345).

  • CVE-2020-21682: Fixed a global buffer overflow in the set_fill component in genge.c (bsc#1189346).

  • CVE-2020-21683: Fixed a global buffer overflow in the shade_or_tint_name_after_declare_color in genpstricks.c (bsc#1189325).

  • Do hardening via compile and linker flags

  • Fixed last added upstream commit (boo#1136882)

Record
SUSE-SU-2021:14823-1
Updated
2026-11-02
OSVSUSE-SU-2021:3124-1 No score

Security update for transfig

This update for transfig fixes the following issues:

Update to version 3.2.8, including fixes for

  • CVE-2021-3561: overflow in fig2dev/read.c in function read_colordef() (bsc#1186329).
  • CVE-2020-21683: Fixed buffer overflow in the shade_or_tint_name_after_declare_color in genpstricks.c (bsc#1189325).
  • CVE-2020-21682: Fixed buffer overflow in the set_fill component in genge.c (bsc#1189346).
  • CVE-2020-21681: Fixed buffer overflow in the set_color component in genge.c (bsc#1189345).
  • CVE-2020-21680: Fixed stack-based buffer overflow in the put_arrow() component in genpict2e.c (bsc#1189343).
  • CVE-2019-19797: out-of-bounds write in read_colordef in read.c (bsc#1159293).
  • CVE-2019-19555: stack-based buffer overflow because of an incorrect sscanf (bsc#1161698).
  • CVE-2019-19746: segmentation fault and out-of-bounds write because of an integer overflow via a large arrow type (bsc#1159130).
Record
SUSE-SU-2021:3124-1
Updated
2026-11-02
OSVSUSE-SU-2021:3584-1 No score

Security update for transfig

This update for transfig fixes the following issues:

Update to fig2dev version 3.2.8 Patchlevel 8b (Aug 2021)

  • bsc#1190618, CVE-2020-21529: stack buffer overflow in the bezier_spline function in genepic.c.
  • bsc#1190615, CVE-2020-21530: segmentation fault in the read_objects function in read.c.
  • bsc#1190617, CVE-2020-21531: global buffer overflow in the conv_pattern_index function in gencgm.c.
  • bsc#1190616, CVE-2020-21532: global buffer overflow in the setfigfont function in genepic.c.
  • bsc#1190612, CVE-2020-21533: stack buffer overflow in the read_textobject function in read.c.
  • bsc#1190611, CVE-2020-21534: global buffer overflow in the get_line function in read.c.
  • bsc#1190607, CVE-2020-21535: segmentation fault in the gencgm_start function in gencgm.c.
  • bsc#1192019, CVE-2021-32280: NULL pointer dereference in compute_closed_spline() in trans_spline.c
Record
SUSE-SU-2021:3584-1
Updated
2026-11-02
OSVUSN-7587-1 No score

fig2dev vulnerabilities

Suhwan Song discovered that Fig2dev did not correctly handle certain memory operations. If a user or automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-21680, CVE-2020-21682, CVE-2020-21683)

It was discovered that Fig2dev did not limit the size of certain inputs. If a user or automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service. (CVE-2025-31162, CVE-2025-31163)

It was discovered that Fig2dev did not correctly handle certain inputs. If a user or automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 24.04 LTS and Ubuntu 24.10. (CVE-2025-31164)

Record
USN-7587-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
fig2dev
Debian:12
before 1:3.2.8-1
1:3.2.8-1
fig2dev
Debian:13
before 1:3.2.8-1
1:3.2.8-1
fig2dev
Debian:14
before 1:3.2.8-1
1:3.2.8-1
transfig
SUSE:Linux Enterprise Point of Sale 11 SP3
From an advisory covering 9 CVEs
before 3.2.8a-1.160.13.1
3.2.8a-1.160.13.1
transfig
SUSE:Linux Enterprise Server 11 SP4-LTSS
From an advisory covering 9 CVEs
before 3.2.8a-1.160.13.1
3.2.8a-1.160.13.1
transfig
SUSE:HPE Helion OpenStack 8
From an advisory covering 8 CVEs
before 3.2.8a-2.17.1
3.2.8a-2.17.1
transfig
SUSE:OpenStack Cloud 8
From an advisory covering 8 CVEs
before 3.2.8a-2.17.1
3.2.8a-2.17.1
transfig
SUSE:OpenStack Cloud 9
From an advisory covering 8 CVEs
before 3.2.8a-2.17.1
3.2.8a-2.17.1
transfig
SUSE:OpenStack Cloud Crowbar 8
From an advisory covering 8 CVEs
before 3.2.8a-2.17.1
3.2.8a-2.17.1
transfig
SUSE:OpenStack Cloud Crowbar 9
From an advisory covering 8 CVEs
before 3.2.8a-2.17.1
3.2.8a-2.17.1
Show 22 moreShow less
Affected packages
PackageAffectedFixed
transfig
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
From an advisory covering 8 CVEs
before 3.2.8a-2.17.1
3.2.8a-2.17.1
transfig
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
From an advisory covering 8 CVEs
before 3.2.8a-2.17.1
3.2.8a-2.17.1
transfig
SUSE:Linux Enterprise Server 12 SP2-BCL
From an advisory covering 8 CVEs
before 3.2.8a-2.17.1
3.2.8a-2.17.1
transfig
SUSE:Linux Enterprise Server 12 SP3-LTSS
From an advisory covering 8 CVEs
before 3.2.8a-2.17.1
3.2.8a-2.17.1
transfig
SUSE:Linux Enterprise Server 12 SP3-BCL
From an advisory covering 8 CVEs
before 3.2.8a-2.17.1
3.2.8a-2.17.1
transfig
SUSE:Linux Enterprise Server 12 SP4-LTSS
From an advisory covering 8 CVEs
before 3.2.8a-2.17.1
3.2.8a-2.17.1
transfig
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 8 CVEs
before 3.2.8a-2.17.1
3.2.8a-2.17.1
transfig
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
From an advisory covering 8 CVEs
before 3.2.8a-2.17.1
3.2.8a-2.17.1
transfig
SUSE:Linux Enterprise Workstation Extension 15 SP2
From an advisory covering 12 CVEs
before 3.2.8b-4.15.1
3.2.8b-4.15.1
transfig
SUSE:Linux Enterprise Workstation Extension 15 SP3
From an advisory covering 12 CVEs
before 3.2.8b-4.15.1
3.2.8b-4.15.1
fig2dev
Ubuntu:Pro:18.04:LTS
before 1:3.2.6a-6ubuntu1.1+esm1, plus listed versions
1:3.2.6a-31:3.2.6a-41:3.2.6a-4ubuntu11:3.2.6a-6ubuntu11:3.2.6a-6ubuntu1.1
1:3.2.6a-6ubuntu1.1+esm1
fig2dev
Ubuntu:Pro:20.04:LTS
before 1:3.2.7a-7ubuntu0.1+esm1, plus listed versions
1:3.2.7a-71:3.2.7a-7ubuntu0.1
1:3.2.7a-7ubuntu0.1+esm1
fig2dev
Ubuntu:Pro:18.04:LTS
From an advisory covering 6 CVEs
before 1:3.2.6a-6ubuntu1.1+esm1, plus listed versions
1:3.2.6a-31:3.2.6a-41:3.2.6a-4ubuntu11:3.2.6a-6ubuntu11:3.2.6a-6ubuntu1.1
1:3.2.6a-6ubuntu1.1+esm1
fig2dev
Ubuntu:Pro:20.04:LTS
From an advisory covering 6 CVEs
before 1:3.2.7a-7ubuntu0.1+esm1, plus listed versions
1:3.2.7a-71:3.2.7a-7ubuntu0.1
1:3.2.7a-7ubuntu0.1+esm1
fig2dev
Ubuntu:Pro:22.04:LTS
From an advisory covering 6 CVEs
before 1:3.2.8b-1ubuntu0.1~esm1, plus listed versions
1:3.2.8-31:3.2.8b-1
1:3.2.8b-1ubuntu0.1~esm1
fig2dev
Ubuntu:Pro:24.04:LTS
From an advisory covering 6 CVEs
before 1:3.2.9-3ubuntu0.1~esm1, plus listed versions
1:3.2.8b-31:3.2.9-31:3.2.9-3build11:3.2.9-3build2
1:3.2.9-3ubuntu0.1~esm1
transfig
openSUSE:Leap 15.2
From an advisory covering 12 CVEs
before 3.2.8b-lp152.6.9.1
3.2.8b-lp152.6.9.1
transfig
SUSE:Package Hub 15 SP2
From an advisory covering 12 CVEs
before 3.2.8b-bp152.3.6.2
3.2.8b-bp152.3.6.2
transfig
SUSE:Package Hub 15 SP3
From an advisory covering 12 CVEs
before 3.2.8b-bp153.3.6.3
3.2.8b-bp153.3.6.3
transfig
openSUSE:Leap 15.3
From an advisory covering 12 CVEs
before 3.2.8b-bp153.3.6.3
3.2.8b-bp153.3.6.3
transfig
openSUSE:Leap 15.3
From an advisory covering 12 CVEs
before 3.2.8b-4.15.1
3.2.8b-4.15.1
transfig
openSUSE:Tumbleweed
From an advisory covering 11 CVEs
before 3.2.8a-5.1
3.2.8a-5.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-21682 is a medium vulnerability (CVSS 5.5) in Fig2dev Project Fig2dev, published August 10, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.85%, the 58th percentile. Fixed in fig2dev 1:3.2.8-1.

References

Show 50 moreShow less
MoveEnter Open