Every CVE Search/ Get API key

CVE-2020-21676

A stack-based buffer overflow in the genpstrx_text() component in genpstricks.c of fig2dev 3.2.7b...

5.5 MediumFix available

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

1.07%Up 0.6 points since Aug 11, 2021
90%50%10%1%

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 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-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 MediumCVSS: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 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-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 MediumCVSS: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 MediumCVSS: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

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
fig2dev
Debian: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
fig2dev
Debian: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
fig2dev
Ubuntu: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
fig2dev
Ubuntu:20.04:LTS
before 1:3.2.7a-7ubuntu0.1, plus listed versions
1:3.2.7a-7
1:3.2.7a-7ubuntu0.1
fig2dev
Ubuntu: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
fig2dev
Ubuntu: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

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-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

Show 17 moreShow less
MoveEnter Open