CVE-2020-21680
A stack-based buffer overflow in the put_arrow() component in genpict2e.c of fig2dev 3.2.7b...
A stack-based buffer overflow in the put_arrow() component in genpict2e.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into pict2e 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
What each source reports
NVD Score used
5.5
A stack-based buffer overflow in the put_arrow() component in genpict2e.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into pict2e format.
- Record
CVE-2020-21680- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
A stack-based buffer overflow in the put_arrow() component in genpict2e.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into pict2e format.
- Record
CVE-2020-21680- Updated
- 2026-11-02
EUVDEUVD-2020-14448 No score
A stack-based buffer overflow in the put_arrow() component in genpict2e.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into pict2e format.
- Record
EUVD-2020-14448- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-ggqm-jgv2-2w64
5.5
A stack-based buffer overflow in the put_arrow() component in genpict2e.c of fig2dev 3.2.7b...
A stack-based buffer overflow in the put_arrow() component in genpict2e.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into pict2e format.
- Record
GHSA-ggqm-jgv2-2w64- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSV
5.5
A stack-based buffer overflow in the put_arrow() component in genpict2e.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into pict2e format.
- Record
CVE-2020-21680- CVSS 3.1
- 5.5 Medium
CVSS: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-21680
5.5
A stack-based buffer overflow in the put_arrow() component in genpict2e.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into pict2e format.
- Record
DEBIAN-CVE-2020-21680- CVSS 3.1
- 5.5 Medium
CVSS: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-21680
5.5
A stack-based buffer overflow in the put_arrow() component in genpict2e.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into pict2e format.
- Record
UBUNTU-CVE-2020-21680- CVSS 3.1
- 5.5 Medium
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
fig2devDebian:12 |
before 1:3.2.8-1 | 1:3.2.8-1 |
fig2devDebian:13 |
before 1:3.2.8-1 | 1:3.2.8-1 |
fig2devDebian:14 |
before 1:3.2.8-1 | 1:3.2.8-1 |
transfigSUSE: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 |
transfigSUSE: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 |
transfigSUSE:HPE Helion OpenStack 8 From an advisory covering 8 CVEs |
before 3.2.8a-2.17.1 | 3.2.8a-2.17.1 |
transfigSUSE:OpenStack Cloud 8 From an advisory covering 8 CVEs |
before 3.2.8a-2.17.1 | 3.2.8a-2.17.1 |
transfigSUSE:OpenStack Cloud 9 From an advisory covering 8 CVEs |
before 3.2.8a-2.17.1 | 3.2.8a-2.17.1 |
transfigSUSE:OpenStack Cloud Crowbar 8 From an advisory covering 8 CVEs |
before 3.2.8a-2.17.1 | 3.2.8a-2.17.1 |
transfigSUSE: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
| Package | Affected | Fixed |
|---|---|---|
transfigSUSE: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 |
transfigSUSE: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 |
transfigSUSE: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 |
transfigSUSE: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 |
transfigSUSE: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 |
transfigSUSE: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 |
transfigSUSE:Linux Enterprise Server 12 SP5 From an advisory covering 8 CVEs |
before 3.2.8a-2.17.1 | 3.2.8a-2.17.1 |
transfigSUSE: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 |
transfigSUSE: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 |
transfigSUSE: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 |
fig2devUbuntu: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 |
fig2devUbuntu: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 |
fig2devUbuntu: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 |
fig2devUbuntu: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 |
fig2devUbuntu: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 |
fig2devUbuntu: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 |
transfigopenSUSE:Leap 15.2 From an advisory covering 12 CVEs |
before 3.2.8b-lp152.6.9.1 | 3.2.8b-lp152.6.9.1 |
transfigSUSE: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 |
transfigSUSE: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 |
transfigopenSUSE:Leap 15.3 From an advisory covering 12 CVEs |
before 3.2.8b-bp153.3.6.3 | 3.2.8b-bp153.3.6.3 |
transfigopenSUSE:Leap 15.3 From an advisory covering 12 CVEs |
before 3.2.8b-4.15.1 | 3.2.8b-4.15.1 |
transfigopenSUSE:Tumbleweed From an advisory covering 11 CVEs |
before 3.2.8a-5.1 | 3.2.8a-5.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-21680 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.78%, the 56th percentile. Fixed in fig2dev 1:3.2.8-1.
References
sourceforge.net/p/mcj/tickets/74
nvd.nist.gov/vuln/detail/CVE-2020-21680
github.com/advisories/GHSA-ggqm-jgv2-2w64
security-tracker.debian.org/tracker/CVE-2020-21680
suse.com/support/update/announcement/2021/suse-su-202114823-1
bugzilla.suse.com/1136882
Show 50 moreShow less
bugzilla.suse.com/1143650
bugzilla.suse.com/1159130
bugzilla.suse.com/1159293
bugzilla.suse.com/1161698
bugzilla.suse.com/1186329
bugzilla.suse.com/1189325
bugzilla.suse.com/1189343
bugzilla.suse.com/1189345
bugzilla.suse.com/1189346
suse.com/security/cve/CVE-2019-14275
suse.com/security/cve/CVE-2019-19555
suse.com/security/cve/CVE-2019-19746
suse.com/security/cve/CVE-2019-19797
suse.com/security/cve/CVE-2020-21680
suse.com/security/cve/CVE-2020-21681
suse.com/security/cve/CVE-2020-21682
suse.com/security/cve/CVE-2020-21683
suse.com/security/cve/CVE-2021-3561
suse.com/support/update/announcement/2021/suse-su-20213124-1
suse.com/support/update/announcement/2021/suse-su-20213584-1
bugzilla.suse.com/1190607
bugzilla.suse.com/1190611
bugzilla.suse.com/1190612
bugzilla.suse.com/1190615
bugzilla.suse.com/1190616
bugzilla.suse.com/1190617
bugzilla.suse.com/1190618
bugzilla.suse.com/1192019
suse.com/security/cve/CVE-2020-21529
suse.com/security/cve/CVE-2020-21530
suse.com/security/cve/CVE-2020-21531
suse.com/security/cve/CVE-2020-21532
suse.com/security/cve/CVE-2020-21533
suse.com/security/cve/CVE-2020-21534
suse.com/security/cve/CVE-2020-21535
suse.com/security/cve/CVE-2021-32280
ubuntu.com/security/CVE-2020-21680
cve.org/CVERecord?id=CVE-2020-21680
ubuntu.com/security/notices/USN-7587-1
ubuntu.com/security/CVE-2020-21682
ubuntu.com/security/CVE-2020-21683
ubuntu.com/security/CVE-2025-31162
ubuntu.com/security/CVE-2025-31163
ubuntu.com/security/CVE-2025-31164
lists.opensuse.org/archives/list/[email protected]/thread/4JLSTM3B2XXVZAOO3A7DAIVZCM7BWWB5
lists.opensuse.org/archives/list/[email protected]/thread/G42543RXBU4MHD2R5PW7KL3I42JAB5VA
lists.opensuse.org/archives/list/[email protected]/thread/2LJVPVAWYSJP4T7SCIWWVBLSRWKCK2EH
lists.opensuse.org/archives/list/[email protected]/thread/EBZZA2GBLUHRWOSJZPQSU2KHSYN4PFJK
suse.com/security/cve/CVE-2017-16899
suse.com/security/cve/CVE-2018-16140