Name | CVE-2018-19491 |
Description | An issue was discovered in post.trm in Gnuplot 5.2.5. This issue allows an attacker to conduct a buffer overflow with an arbitrary amount of data in the PS_options function. This flaw is caused by a missing size check of an argument passed to the "set font" function. This issue occurs when the Gnuplot postscript terminal is used as a backend. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1595-1, DLA-1597-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
gnuplot (PTS) | jessie, jessie (lts) | 4.6.6-2+deb8u1 | fixed |
| stretch | 5.0.5+dfsg1-6+deb9u1 | vulnerable |
| buster | 5.2.6+dfsg1-1+deb10u1 | vulnerable |
| bullseye | 5.4.1+dfsg1-1+deb11u1 | vulnerable |
| bookworm | 5.4.4+dfsg1-2 | vulnerable |
| sid, trixie | 6.0.0+dfsg1-3 | vulnerable |
gnuplot5 (PTS) | jessie, jessie (lts) | 5.0.0~rc+dfsg2-1+deb8u1 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://sourceforge.net/p/gnuplot/bugs/2094/
https://sourceforge.net/p/gnuplot/gnuplot-main/ci/d5020716834582b20a5e12cdd49f39ee4f9dd949/
No security impact, gnuplot can execute arbitrary commands and need to come from a trusted source,
see README.Debian.security (added in 5.2.6)