Every CVE Search/ Get API key

CVE-2021-3561

An Out of Bounds flaw was found fig2dev version 3.2.8a. A flawed bounds check in read_objects()...

7.1 HighFix available

An Out of Bounds flaw was found fig2dev version 3.2.8a. A flawed bounds check in read_objects() could allow an attacker to provide a crafted malicious input causing the application to either crash or in some cases cause memory corruption. The highest threat from this vulnerability is to integrity as well as system availability.

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

Exploit likelihood

1.18%Up 0.5 points since May 27, 2021
90%50%10%1%

What each source reports

NVD Score used 7.1

An Out of Bounds flaw was found fig2dev version 3.2.8a. A flawed bounds check in read_objects() could allow an attacker to provide a crafted malicious input causing the application to either crash or in some cases cause memory corruption. The highest threat from this vulnerability is to integrity as well as system availability.

Record
CVE-2021-3561
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
CVSS 2.0
5.8 MediumAV:N/AC:M/Au:N/C:N/I:P/A:P
Weakness
CWE-119, CWE-787
Updated
2026-11-02
CVE List No score

An Out of Bounds flaw was found fig2dev version 3.2.8a. A flawed bounds check in read_objects() could allow an attacker to provide a crafted malicious input causing the application to either crash or in some cases cause memory corruption. The highest threat from this vulnerability is to integrity as well as system availability.

Record
CVE-2021-3561
Weakness
CWE-119
Updated
2026-11-02
EUVDEUVD-2021-26872 No score

An Out of Bounds flaw was found fig2dev version 3.2.8a. A flawed bounds check in read_objects() could allow an attacker to provide a crafted malicious input causing the application to either crash or in some cases cause memory corruption. The highest threat from this vulnerability is to integrity as well as system availability.

Record
EUVD-2021-26872
Updated
2026-11-03
GitHub AdvisoriesGHSA-w359-m9m3-v2w3 7.1

An Out of Bounds flaw was found fig2dev version 3.2.8a. A flawed bounds check in read_objects()...

An Out of Bounds flaw was found fig2dev version 3.2.8a. A flawed bounds check in read_objects() could allow an attacker to provide a crafted malicious input causing the application to either crash or in some cases cause memory corruption. The highest threat from this vulnerability is to integrity as well as system availability.

Record
GHSA-w359-m9m3-v2w3
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Weakness
CWE-119, CWE-787
Updated
2026-11-02
OSV 7.1

An Out of Bounds flaw was found fig2dev version 3.2.8a. A flawed bounds check in read_objects() could allow an attacker to provide a crafted malicious input causing the application to either crash or in some cases cause memory corruption. The highest threat from this vulnerability is to integrity as well as system availability.

Record
CVE-2021-3561
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2021-3561 7.1

An Out of Bounds flaw was found fig2dev version 3.2.8a. A flawed bounds check in read_objects() could allow an attacker to provide a crafted malicious input causing the application to either crash or in some cases cause memory corruption. The highest threat from this vulnerability is to integrity as well as system availability.

Record
DEBIAN-CVE-2021-3561
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Updated
2026-11-02
Show 11 moreShow less
OSVUBUNTU-CVE-2021-3561 7.1

An Out of Bounds flaw was found fig2dev version 3.2.8a. A flawed bounds check in read_objects() could allow an attacker to provide a crafted malicious input causing the application to either crash or in some cases cause memory corruption. The highest threat from this vulnerability is to integrity as well as system availability.

Record
UBUNTU-CVE-2021-3561
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Updated
2026-11-02
OSVMGASA-2021-0379 No score

Updated transfig package fixes a security vulnerability

An Out of Bounds flaw was found fig2dev version 3.2.8a. A flawed bounds check in read_objects() could allow an attacker to provide a crafted malicious input causing the application to either crash or in some cases cause memory corruption. The highest threat from this vulnerability is to integrity as well as system availability (CVE-2021-3561).

Record
MGASA-2021-0379
Updated
2026-11-02
OSVopenSUSE-SU-2021:1143-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-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).
  • CVE-2019-14275: stack-based buffer overflow in the calc_arrow function in bound.c (bsc#1143650).

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

Record
openSUSE-SU-2021:1143-1
Updated
2026-11-02
OSVopenSUSE-SU-2021:1311-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-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).
  • CVE-2019-14275: stack-based buffer overflow in the calc_arrow function in bound.c (bsc#1143650).

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:1311-1
Updated
2026-11-02
OSVopenSUSE-SU-2021:1318-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-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).
  • CVE-2019-14275: stack-based buffer overflow in the calc_arrow function in bound.c (bsc#1143650).

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

Record
openSUSE-SU-2021:1318-1
Updated
2026-11-02
OSVopenSUSE-SU-2021:2454-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-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).
  • CVE-2019-14275: stack-based buffer overflow in the calc_arrow function in bound.c (bsc#1143650).
Record
openSUSE-SU-2021:2454-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:2454-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-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).
  • CVE-2019-14275: stack-based buffer overflow in the calc_arrow function in bound.c (bsc#1143650).
Record
SUSE-SU-2021:2454-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
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-3
1:3.2.8-3
fig2dev
Debian:13
before 1:3.2.8-3
1:3.2.8-3
fig2dev
Debian:14
before 1:3.2.8-3
1:3.2.8-3
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
transfig
Mageia:8
before 3.2.8a-1.mga8
3.2.8a-1.mga8
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:Linux Enterprise Workstation Extension 15 SP2
From an advisory covering 5 CVEs
before 3.2.8a-4.12.2
3.2.8a-4.12.2
transfig
SUSE:Linux Enterprise Workstation Extension 15 SP3
From an advisory covering 5 CVEs
before 3.2.8a-4.12.2
3.2.8a-4.12.2
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
Show 22 moreShow less
Affected packages
PackageAffectedFixed
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
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
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
transfig
openSUSE:Leap 15.2
From an advisory covering 5 CVEs
before 3.2.8a-lp152.6.6.2
3.2.8a-lp152.6.6.2
transfig
SUSE:Package Hub 15 SP2
From an advisory covering 5 CVEs
before 3.2.8a-bp152.3.3.2
3.2.8a-bp152.3.3.2
transfig
SUSE:Package Hub 15 SP3
From an advisory covering 5 CVEs
before 3.2.8a-bp153.3.3.2
3.2.8a-bp153.3.3.2
transfig
openSUSE:Leap 15.3
From an advisory covering 5 CVEs
before 3.2.8a-bp153.3.3.2
3.2.8a-bp153.3.3.2
transfig
openSUSE:Leap 15.3
From an advisory covering 5 CVEs
before 3.2.8a-4.12.2
3.2.8a-4.12.2
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
aliases, productsEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

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

In short

CVE-2021-3561 is a high vulnerability (CVSS 7.1) in Fig2dev Project Fig2dev, published May 26, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.18%, the 67th percentile. Fixed in fig2dev 1:3.2.8-3.

References

Show 52 moreShow less
MoveEnter Open