CVE-2021-3561
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.
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
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 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H - CVSS 2.0
- 5.8 Medium
AV: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
fig2devDebian:12 |
before 1:3.2.8-3 | 1:3.2.8-3 |
fig2devDebian:13 |
before 1:3.2.8-3 | 1:3.2.8-3 |
fig2devDebian:14 |
before 1:3.2.8-3 | 1:3.2.8-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 |
transfigMageia:8 |
before 3.2.8a-1.mga8 | 3.2.8a-1.mga8 |
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: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 |
transfigSUSE: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 |
transfigSUSE: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
| Package | Affected | Fixed |
|---|---|---|
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 |
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 |
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 |
transfigopenSUSE:Leap 15.2 From an advisory covering 5 CVEs |
before 3.2.8a-lp152.6.6.2 | 3.2.8a-lp152.6.6.2 |
transfigSUSE: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 |
transfigSUSE: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 |
transfigopenSUSE:Leap 15.3 From an advisory covering 5 CVEs |
before 3.2.8a-bp153.3.3.2 | 3.2.8a-bp153.3.3.2 |
transfigopenSUSE:Leap 15.3 From an advisory covering 5 CVEs |
before 3.2.8a-4.12.2 | 3.2.8a-4.12.2 |
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, products | EUVD | |
| first indexed | CVE 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
sourceforge.net/p/mcj/tickets/116
sourceforge.net/p/mcj/fig2dev/ci/6827c09d2d6491cb2ae3ac7196439ff3aa791fd9
bugzilla.redhat.com/show_bug.cgi?id=1955675
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JKMOIQX6GULVSYXLYW5JQY6KJNTWV3E4
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C44WSY5KAQXC3Y2NMSVXXZS3M5U5U2E6
lists.debian.org/debian-lts-announce/2021/10/msg00002.html
Show 52 moreShow less
nvd.nist.gov/vuln/detail/CVE-2021-3561
lists.fedoraproject.org/archives/list/[email protected]/message/C44WSY5KAQXC3Y2NMSVXXZS3M5U5U2E6
lists.fedoraproject.org/archives/list/[email protected]/message/JKMOIQX6GULVSYXLYW5JQY6KJNTWV3E4
github.com/advisories/GHSA-w359-m9m3-v2w3
security-tracker.debian.org/tracker/CVE-2021-3561
advisories.mageia.org/MGASA-2021-0379.html
bugs.mageia.org/show_bug.cgi?id=29126
lists.opensuse.org/archives/list/[email protected]/thread/RK4BRVCUPZKN5VS2JGWBPYITONWJCIZJ
lists.fedoraproject.org/archives/list/[email protected]/thread/C44WSY5KAQXC3Y2NMSVXXZS3M5U5U2E6
suse.com/support/update/announcement/2021/suse-su-202114823-1
bugzilla.suse.com/1136882
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-20212454-1
suse.com/support/update/announcement/2021/suse-su-20213124-1
ubuntu.com/security/CVE-2021-3561
ubuntu.com/security/notices/USN-5864-1
cve.org/CVERecord?id=CVE-2021-3561
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-2020-21676
ubuntu.com/security/CVE-2021-32280
lists.opensuse.org/archives/list/[email protected]/thread/LKD7IBCZKGMDHLZ7H4T5P7WTXHNFSOB6
lists.opensuse.org/archives/list/[email protected]/thread/PQ34JCCBYY5MVDLL7VGCWBOZKOQ5EXTK
lists.opensuse.org/archives/list/[email protected]/thread/4HYGTSDI2IQ34SYGQZGBYMH3NPMCAL2X
suse.com/security/cve/CVE-2017-16899
suse.com/security/cve/CVE-2018-16140