CVE-2020-21675
A stack-based buffer overflow in the genptk_text component in genptk.c of fig2dev 3.2.7b allows...
A stack-based buffer overflow in the genptk_text component in genptk.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into ptk 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 genptk_text component in genptk.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into ptk format.
- Record
CVE-2020-21675- 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 genptk_text component in genptk.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into ptk format.
- Record
CVE-2020-21675- Updated
- 2026-11-02
EUVDEUVD-2020-14443 No score
A stack-based buffer overflow in the genptk_text component in genptk.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into ptk format.
- Record
EUVD-2020-14443- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-4m2v-48rc-7rp4
5.5
A stack-based buffer overflow in the genptk_text component in genptk.c of fig2dev 3.2.7b allows...
A stack-based buffer overflow in the genptk_text component in genptk.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into ptk format.
- Record
GHSA-4m2v-48rc-7rp4- 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 genptk_text component in genptk.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into ptk format.
- Record
CVE-2020-21675- 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-21675
5.5
A stack-based buffer overflow in the genptk_text component in genptk.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into ptk format.
- Record
DEBIAN-CVE-2020-21675- 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-21675
5.5
A stack-based buffer overflow in the genptk_text component in genptk.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into ptk format.
- Record
UBUNTU-CVE-2020-21675- 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.7b-3 | 1:3.2.7b-3 |
fig2devDebian:13 |
before 1:3.2.7b-3 | 1:3.2.7b-3 |
fig2devDebian:14 |
before 1:3.2.7b-3 | 1:3.2.7b-3 |
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 |
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-21675 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.06%, the 64th percentile. Fixed in fig2dev 1:3.2.7b-3.
References
cwe.mitre.org/data/definitions/121.html
sourceforge.net/p/mcj/tickets/78
lists.debian.org/debian-lts-announce/2021/10/msg00002.html
nvd.nist.gov/vuln/detail/CVE-2020-21675
github.com/advisories/GHSA-4m2v-48rc-7rp4
security-tracker.debian.org/tracker/CVE-2020-21675
Show 16 moreShow less
ubuntu.com/security/CVE-2020-21675
ubuntu.com/security/notices/USN-5864-1
cve.org/CVERecord?id=CVE-2020-21675
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-21676
ubuntu.com/security/CVE-2021-3561
ubuntu.com/security/CVE-2021-32280