Skip to content
OpenAdvisories
Unscored USN-7589-1 7 CVEs

gnuplot vulnerabilities

Published Jun 23, 2025 · Updated Jun 25, 2026

Summary

Tim Blazytko, Cornelius Aschermann, Sergej Schumilo, and Nils Bars
discovered that Gnuplot had several memory-related issues. An
attacker could possibly use these issues to cause Gnuplot to
experience a buffer overflow, resulting in a denial of service or
arbitrary code execution. These issues only affected Ubuntu
14.04 LTS and Ubuntu 18.04 LTS. (CVE-2018-19490, CVE-2018-19491,
CVE-2018-19492)

It was discovered that Gnuplot could write out-of-bounds due to
the use of strncpy(). An attacker could possibly use this issue
to enable the execution of arbitrary code. This issue only
affected Ubuntu 20.04 LTS. (CVE-2020-25412)

It was discovered that Gnuplot incorrectly freed memory when
executing print_set_output(). An attacker could possibly use this
issue to enable the execution of arbitrary code. (CVE-2020-25559)

It was discovered that Gnuplot's plotrequest() function contained
a buffer overflow. An attacker could possibly use this issue to
cause Gnuplot to crash, resulting in a denial of service or
arbitrary code execution. (CVE-2020-25969)

It was discovered that Gnuplot's boundary3d() function could be
made to divide by zero. An attacker could possibly use this issue
to cause Gnuplot to crash, resulting in a denial of service.
(CVE-2021-44917)

Fixed packages 4

ReleasePackageFixed in
Ubuntu · Pro 14.04 LTS Pro:14.04:LTS gnuplot 4.6.4-2ubuntu0.1~esm1
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS gnuplot 4.6.6-3ubuntu0.1+esm1
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS gnuplot 5.2.2+dfsg1-2ubuntu1+esm1
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS gnuplot 5.2.8+dfsg1-2ubuntu0.1~esm1

Vulnerabilities 7

References

  • report
    https://ubuntu.com/security/CVE-2018-19490
  • report
    https://ubuntu.com/security/CVE-2018-19491
  • report
    https://ubuntu.com/security/CVE-2018-19492
  • report
    https://ubuntu.com/security/CVE-2020-25412
  • report
    https://ubuntu.com/security/CVE-2020-25559
  • report
    https://ubuntu.com/security/CVE-2020-25969
  • report
    https://ubuntu.com/security/CVE-2021-44917