CVE-2020-21676
A stack-based buffer overflow in the genpstrx_text() component in genpstricks.c of fig2dev 3.2.7b...
A stack-based buffer overflow in the genpstrx_text() component 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.
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 genpstrx_text() component 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.
- Record
CVE-2020-21676- 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 genpstrx_text() component 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.
- Record
CVE-2020-21676- Updated
- 2026-11-02
EUVDEUVD-2020-14444 No score
A stack-based buffer overflow in the genpstrx_text() component 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.
- Record
EUVD-2020-14444- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-h7rp-ww8c-5x58
5.5
A stack-based buffer overflow in the genpstrx_text() component in genpstricks.c of fig2dev 3.2.7b...
A stack-based buffer overflow in the genpstrx_text() component 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.
- Record
GHSA-h7rp-ww8c-5x58- 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 genpstrx_text() component 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.
- Record
CVE-2020-21676- 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-21676
5.5
A stack-based buffer overflow in the genpstrx_text() component 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.
- Record
DEBIAN-CVE-2020-21676- 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
OSVUBUNTU-CVE-2020-21676
5.5
A stack-based buffer overflow in the genpstrx_text() component 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.
- Record
UBUNTU-CVE-2020-21676- 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
OSVUSN-5864-1 No score
fig2dev vulnerabilities
Frederic Cambus discovered that Fig2dev incorrectly handled certain image files. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 18.04 LTS. (CVE-2019-14275)
It was discovered that Fig2dev incorrectly handled certain image files. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. (CVE-2019-19555, CVE-2019-19797, CVE-2020-21529, CVE-2020-21530, CVE-2020-21531, CVE-2020-21532, CVE-2020-21533, CVE-2020-21534, CVE-2020-21535, CVE-2020-21675, CVE-2020-21676, CVE-2021-3561)
It was discovered that Fig2dev incorrectly handled certain image files. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. (CVE-2021-32280)
- Record
USN-5864-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 |
fig2devDebian:9 From an advisory covering 12 CVEs |
before 1:3.2.6a-2+deb9u4, plus listed versions 1:3.2.6a-21:3.2.6a-2+deb9u11:3.2.6a-2+deb9u21:3.2.6a-2+deb9u3 |
1:3.2.6a-2+deb9u4 |
fig2devDebian:10 From an advisory covering 5 CVEs |
before 1:3.2.7a-5+deb10u5, plus listed versions 1:3.2.7a-51:3.2.7a-5+deb10u11:3.2.7a-5+deb10u21:3.2.7a-5+deb10u31:3.2.7a-5+deb10u4 |
1:3.2.7a-5+deb10u5 |
fig2devUbuntu:18.04:LTS |
before 1:3.2.6a-6ubuntu1.1, plus listed versions 1:3.2.6a-31:3.2.6a-41:3.2.6a-4ubuntu11:3.2.6a-6ubuntu1 |
1:3.2.6a-6ubuntu1.1 |
fig2devUbuntu:20.04:LTS |
before 1:3.2.7a-7ubuntu0.1, plus listed versions 1:3.2.7a-7 |
1:3.2.7a-7ubuntu0.1 |
fig2devUbuntu:18.04:LTS From an advisory covering 14 CVEs |
before 1:3.2.6a-6ubuntu1.1, plus listed versions 1:3.2.6a-31:3.2.6a-41:3.2.6a-4ubuntu11:3.2.6a-6ubuntu1 |
1:3.2.6a-6ubuntu1.1 |
fig2devUbuntu:20.04:LTS From an advisory covering 14 CVEs |
before 1:3.2.7a-7ubuntu0.1, plus listed versions 1:3.2.7a-7 |
1:3.2.7a-7ubuntu0.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-21676 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 1.07%, the 65th percentile. Fixed in fig2dev 1:3.2.8-1.
References
cwe.mitre.org/data/definitions/121.html
sourceforge.net/p/mcj/tickets/76
lists.debian.org/debian-lts-announce/2021/10/msg00002.html
lists.debian.org/debian-lts-announce/2023/01/msg00044.html
nvd.nist.gov/vuln/detail/CVE-2020-21676
github.com/advisories/GHSA-h7rp-ww8c-5x58
Show 17 moreShow less
security-tracker.debian.org/tracker/CVE-2020-21676
ubuntu.com/security/CVE-2020-21676
ubuntu.com/security/notices/USN-5864-1
cve.org/CVERecord?id=CVE-2020-21676
ubuntu.com/security/CVE-2019-14275
ubuntu.com/security/CVE-2019-19555
ubuntu.com/security/CVE-2019-19797
ubuntu.com/security/CVE-2020-21529
ubuntu.com/security/CVE-2020-21530
ubuntu.com/security/CVE-2020-21531
ubuntu.com/security/CVE-2020-21532
ubuntu.com/security/CVE-2020-21533
ubuntu.com/security/CVE-2020-21534
ubuntu.com/security/CVE-2020-21535
ubuntu.com/security/CVE-2020-21675
ubuntu.com/security/CVE-2021-3561
ubuntu.com/security/CVE-2021-32280