CVE-2020-25412

NameCVE-2020-25412
Descriptioncom_line() in command.c in gnuplot 5.4 leads to an out-of-bounds-write from strncpy() that may lead to arbitrary code execution.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gnuplot (PTS)jessie, jessie (lts)4.6.6-2+deb8u1vulnerable
stretch5.0.5+dfsg1-6+deb9u1vulnerable
buster5.2.6+dfsg1-1+deb10u1vulnerable
bullseye5.4.1+dfsg1-1+deb11u1vulnerable
bookworm5.4.4+dfsg1-2vulnerable
trixie6.0.0+dfsg1-1vulnerable
sid6.0.0+dfsg1-3vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gnuplotsource(unstable)(unfixed)unimportant

Notes

https://sourceforge.net/p/gnuplot/bugs/2303/
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).

Search for package or bug name: Reporting problems