Skip to content

CVE-2020-25412 com_line() in command.c in gnuplot 5.4 leads to an out-of-bounds-write from strncpy() that may lead to arbitrary code execution.

CriticalCVSS 9.8 EPSS 2.6%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

com_line() in command.c in gnuplot 5.4 leads to an out-of-bounds-write from strncpy() that may lead to arbitrary code execution.

Upgrade path

5 packages: 3 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
debian/gnuplot(Debian 12) = 5.4.4+dfsg1-2; = 6.0.0+dfsg1-1; = 6.0.0+dfsg1-2; = 6.0.0+dfsg1-3 +6 more No fix listed No fix yet
debian/gnuplot(Debian 13) < 6.0.0+dfsg1-1 6.0.0+dfsg1-1 Fixed
debian/gnuplot(Debian 14) < 6.0.0+dfsg1-1 6.0.0+dfsg1-1 Fixed
ubuntu/gnuplot(Ubuntu Pro 20.04) < 5.2.8+dfsg1-2ubuntu0.1~esm1; = 5.2.6+dfsg1-2; = 5.2.7+dfsg1-6; = 5.2.8+dfsg1-1 +1 more 5.2.8+dfsg1-2ubuntu0.1~esm1 Fixed
gnuplot = 5.4.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/gnuplot(Debian:12) All versions No fix listed
debian/gnuplot(Debian:12) = 5.4.4+dfsg1-2 No fix listed
debian/gnuplot(Debian:12) = 6.0.0+dfsg1-1 No fix listed
debian/gnuplot(Debian:12) = 6.0.0+dfsg1-2 No fix listed
debian/gnuplot(Debian:12) = 6.0.0+dfsg1-3 No fix listed
debian/gnuplot(Debian:12) = 6.0.2+dfsg1-1 No fix listed
debian/gnuplot(Debian:12) = 6.0.2+dfsg1-2 No fix listed
debian/gnuplot(Debian:12) = 6.0.3+dfsg1-1 No fix listed
debian/gnuplot(Debian:12) = 6.0.3+dfsg1-1~exp1 No fix listed
debian/gnuplot(Debian:12) = 6.0.3+dfsg1-1~exp2 No fix listed
debian/gnuplot(Debian:13) < 6.0.0+dfsg1-1 6.0.0+dfsg1-1
debian/gnuplot(Debian:14) < 6.0.0+dfsg1-1 6.0.0+dfsg1-1
gnuplot = 5.4.0 No fix listed
ubuntu/gnuplot(Ubuntu:Pro:20.04) < 5.2.8+dfsg1-2ubuntu0.1~esm1 5.2.8+dfsg1-2ubuntu0.1~esm1
ubuntu/gnuplot(Ubuntu:Pro:20.04) = 5.2.6+dfsg1-2 No fix listed
ubuntu/gnuplot(Ubuntu:Pro:20.04) = 5.2.7+dfsg1-6 No fix listed
ubuntu/gnuplot(Ubuntu:Pro:20.04) = 5.2.8+dfsg1-1 No fix listed
ubuntu/gnuplot(Ubuntu:Pro:20.04) = 5.2.8+dfsg1-2 No fix listed

References