CVE-2017-9670

NameCVE-2017-9670
DescriptionAn uninitialized stack variable vulnerability in load_tic_series() in set.c in gnuplot 5.2.rc1 allows an attacker to cause Denial of Service (Segmentation fault and Memory Corruption) or possibly have unspecified other impact when a victim opens a specially crafted file.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)
Debian Bugs864901, 864903

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gnuplot (PTS)jessie4.6.6-2fixed
jessie (security)4.6.6-2+deb8u1fixed
stretch5.0.5+dfsg1-6+deb9u1fixed
buster, sid5.2.5+dfsg1-1fixed
gnuplot5 (PTS)jessie5.0.0~rc+dfsg2-1fixed
jessie (security)5.0.0~rc+dfsg2-1+deb8u1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gnuplotsource(unstable)5.0.5+dfsg1-7unimportant864901
gnuplotsourcejessie(not affected)
gnuplotsourcestretch5.0.5+dfsg1-6+deb9u1medium
gnuplotsourcewheezy(not affected)
gnuplot5source(unstable)(unfixed)unimportant864903
gnuplot5sourcejessie(not affected)

Notes

[jessie] - gnuplot <not-affected> (Vulnerable code introduced later)
[wheezy] - gnuplot <not-affected> (Vulnerable code introduced later)
[jessie] - gnuplot5 <not-affected> (Vulnerable code introduced later)
https://sourceforge.net/p/gnuplot/bugs/1933/
The specific CVE is for the uninitialized stack variable fixed via set.c
https://bugzilla.novell.com/show_bug.cgi?id=1044638#c5
Fixed by: https://github.com/gnuplot/gnuplot/commit/4e39b1d7b274c7d4a69cbaba85ff321264f4457e
Introduced by: https://github.com/gnuplot/gnuplot/commit/cd4b777389379598740fc02decff772b0e7bcbd6
Crash in a CLI tool, no security impact

Search for package or bug name: Reporting problems