Skip to content
OpenAdvisories
Unscored CVE-2020-25412 EUVD-2020-18099GHSA-fw2x-mx3p-5gr5

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.

Published Sep 16, 2020 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gnuplot 6.0.0+dfsg1-1 —
Debian 13 gnuplot 6.0.0+dfsg1-1 —
Debian 12 gnuplot No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS gnuplot 5.2.8+dfsg1-2ubuntu0.1~esm1 USN-7589-1
Ubuntu Pro 18.04 LTS gnuplot 5.2.2+dfsg1-2ubuntu1+esm1 USN-7589-1
Ubuntu Pro 16.04 LTS gnuplot 4.6.6-3ubuntu0.1+esm1 USN-7589-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS gnuplot 4.6.4-2ubuntu0.1~esm1 USN-7589-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed gnuplot 5.4.2-1.3 openSUSE-SU-2024:10800-1

Advisories 2

References