CVE-2019-19797
read_colordef in read.c in Xfig fig2dev 3.2.7b has an out-of-bounds write.
CVE-2019-19797 is a medium vulnerability (CVSS 5.5) in Xfig Project Fig2dev, published December 15, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.17%, the 67th percentile. Fixed in fig2dev 1:3.2.7b-3.
read_colordef in read.c in Xfig fig2dev 3.2.7b has an out-of-bounds write.
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
read_colordef in read.c in Xfig fig2dev 3.2.7b has an out-of-bounds write.
- Record
CVE-2019-19797- 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
read_colordef in read.c in Xfig fig2dev 3.2.7b has an out-of-bounds write.
- Record
CVE-2019-19797- Updated
- 2026-11-02
EUVDEUVD-2019-9395 No score
read_colordef in read.c in Xfig fig2dev 3.2.7b has an out-of-bounds write.
- Record
EUVD-2019-9395- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-4qrq-ggqj-r6p9
5.5
read_colordef in read.c in Xfig fig2dev 3.2.7b has an out-of-bounds write.
read_colordef in read.c in Xfig fig2dev 3.2.7b has an out-of-bounds write.
- Record
GHSA-4qrq-ggqj-r6p9- 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
read_colordef in read.c in Xfig fig2dev 3.2.7b has an out-of-bounds write.
- Record
CVE-2019-19797- 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-2019-19797
5.5
read_colordef in read.c in Xfig fig2dev 3.2.7b has an out-of-bounds write.
- Record
DEBIAN-CVE-2019-19797- 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
Show 11 moreShow less
OSVUBUNTU-CVE-2019-19797
5.5
read_colordef in read.c in Xfig fig2dev 3.2.7b has an out-of-bounds write.
- Record
UBUNTU-CVE-2019-19797- 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
OSVMGASA-2020-0116 No score
Updated transfig packages fix security vulnerability
The updated package fixes security vulnerabilities:
Xfig fig2dev 3.2.7a has a stack-based buffer overflow in the calc_arrow function in bound.c. (CVE-2019-14275)
read_textobject in read.c in Xfig fig2dev 3.2.7b has a stack-based buffer overflow because of an incorrect sscanf. (CVE-2019-19555)
make_arrow in arrow.c in Xfig fig2dev 3.2.7b allows a segmentation fault and out-of-bounds write because of an integer overflow via a large arrow type. (CVE-2019-19746)
read_colordef in read.c in Xfig fig2dev 3.2.7b has an out-of-bounds write. (CVE-2019-19797)
- Record
MGASA-2020-0116- 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.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 |
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:7 |
before 3.2.7a-3.1.mga7 | 3.2.7a-3.1.mga7 |
transfigSUSE:Linux Enterprise Point of Sale 11 SP3 |
before 3.2.8a-1.160.13.1 | 3.2.8a-1.160.13.1 |
transfigSUSE:Linux Enterprise Server 11 SP4-LTSS |
before 3.2.8a-1.160.13.1 | 3.2.8a-1.160.13.1 |
transfigSUSE:Linux Enterprise Workstation Extension 15 SP2 |
before 3.2.8a-4.12.2 | 3.2.8a-4.12.2 |
transfigSUSE:Linux Enterprise Workstation Extension 15 SP3 |
before 3.2.8a-4.12.2 | 3.2.8a-4.12.2 |
transfigSUSE:HPE Helion OpenStack 8 |
before 3.2.8a-2.17.1 | 3.2.8a-2.17.1 |
Show 20 moreShow less
| Package | Affected | Fixed |
|---|---|---|
transfigSUSE:OpenStack Cloud 8 |
before 3.2.8a-2.17.1 | 3.2.8a-2.17.1 |
transfigSUSE:OpenStack Cloud 9 |
before 3.2.8a-2.17.1 | 3.2.8a-2.17.1 |
transfigSUSE:OpenStack Cloud Crowbar 8 |
before 3.2.8a-2.17.1 | 3.2.8a-2.17.1 |
transfigSUSE:OpenStack Cloud Crowbar 9 |
before 3.2.8a-2.17.1 | 3.2.8a-2.17.1 |
transfigSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 3.2.8a-2.17.1 | 3.2.8a-2.17.1 |
transfigSUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 3.2.8a-2.17.1 | 3.2.8a-2.17.1 |
transfigSUSE:Linux Enterprise Server 12 SP2-BCL |
before 3.2.8a-2.17.1 | 3.2.8a-2.17.1 |
transfigSUSE:Linux Enterprise Server 12 SP3-LTSS |
before 3.2.8a-2.17.1 | 3.2.8a-2.17.1 |
transfigSUSE:Linux Enterprise Server 12 SP3-BCL |
before 3.2.8a-2.17.1 | 3.2.8a-2.17.1 |
transfigSUSE:Linux Enterprise Server 12 SP4-LTSS |
before 3.2.8a-2.17.1 | 3.2.8a-2.17.1 |
transfigSUSE:Linux Enterprise Server 12 SP5 |
before 3.2.8a-2.17.1 | 3.2.8a-2.17.1 |
transfigSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
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 |
transfigopenSUSE:Leap 15.2 |
before 3.2.8a-lp152.6.6.2 | 3.2.8a-lp152.6.6.2 |
transfigSUSE:Package Hub 15 SP2 |
before 3.2.8a-bp152.3.3.2 | 3.2.8a-bp152.3.3.2 |
transfigSUSE:Package Hub 15 SP3 |
before 3.2.8a-bp153.3.3.2 | 3.2.8a-bp153.3.3.2 |
transfigopenSUSE:Leap 15.3 |
before 3.2.8a-bp153.3.3.2 | 3.2.8a-bp153.3.3.2 |
transfigopenSUSE:Leap 15.3 |
before 3.2.8a-4.12.2 | 3.2.8a-4.12.2 |
transfigopenSUSE:Tumbleweed |
before 3.2.8a-5.1 | 3.2.8a-5.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
sourceforge.net/p/mcj/tickets/67
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ILJM2G6NM5MMBKTT5CH23TAI6DJGNW36
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7XOY5NXUZ6JRBBPYA3CXWGRGQTSDVVG2
lists.debian.org/debian-lts-announce/2021/10/msg00002.html
nvd.nist.gov/vuln/detail/CVE-2019-19797
lists.fedoraproject.org/archives/list/[email protected]/message/7XOY5NXUZ6JRBBPYA3CXWGRGQTSDVVG2
Show 51 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/ILJM2G6NM5MMBKTT5CH23TAI6DJGNW36
github.com/advisories/GHSA-4qrq-ggqj-r6p9
security-tracker.debian.org/tracker/CVE-2019-19797
advisories.mageia.org/MGASA-2020-0116.html
bugs.mageia.org/show_bug.cgi?id=26146
debian.org/lts/security/2020/dla-2073
lists.fedoraproject.org/archives/list/[email protected]/thread/7DHT2H26YTJQC3SPYPFUPZZJG26MWGTL
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-2019-19797
ubuntu.com/security/notices/USN-5864-1
cve.org/CVERecord?id=CVE-2019-19797
ubuntu.com/security/CVE-2019-14275
ubuntu.com/security/CVE-2019-19555
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-3561
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
lists.opensuse.org/archives/list/[email protected]/thread/RK4BRVCUPZKN5VS2JGWBPYITONWJCIZJ
suse.com/security/cve/CVE-2017-16899
suse.com/security/cve/CVE-2018-16140