Out-of-bounds write in Xfig - CVE-2019-19797
Published: December 16, 2019 / Updated: November 3, 2025
Vulnerability identifier: #VU23614
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-19797
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a boundary error when processing untrusted input in the "read_colordef()" function in "read.c". A remote attacker can trigger out-of-bounds write and execute arbitrary code on the target system.
Affected software
Xfig
Fedora
transfig
xfig
Fedora
transfig
xfig
How to mitigate CVE-2019-19797
Install update from vendor's website.
Xfig - addressed in versions 3.2.6a, 3.2.7b
transfig - addressed in versions 3.2.7b-1.fc30, 3.2.7b-1.fc31
xfig - addressed in versions 3.2.7b-1.fc30, 3.2.7b-1.fc31
transfig - addressed in versions 3.2.7b-1.fc30, 3.2.7b-1.fc31
xfig - addressed in versions 3.2.7b-1.fc30, 3.2.7b-1.fc31