USN-7589-1

Type: Security
Severity: Medium
Published: 2025-06-23
Ubuntu 20.04 LTS (Focal Fossa)

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) Update Instructions: Run `sudo pro fix USN-7589-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: gnuplot - 5.2.8+dfsg1-2ubuntu0.1~esm1 gnuplot-data - 5.2.8+dfsg1-2ubuntu0.1~esm1 gnuplot-doc - 5.2.8+dfsg1-2ubuntu0.1~esm1 gnuplot-nox - 5.2.8+dfsg1-2ubuntu0.1~esm1 gnuplot-qt - 5.2.8+dfsg1-2ubuntu0.1~esm1 gnuplot-x11 - 5.2.8+dfsg1-2ubuntu0.1~esm1 Available with Ubuntu Pro: https://ubuntu.com/pro

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T00:47:41.838Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T00:47:41.838Z UTC. Last updated 2025-11-26T08:52:21.700Z UTC.

Upstream Advisory

Affected Packages

  • gnuplot 5.2.8+dfsg1-2ubuntu0.1~esm1-5.2.8+dfsg1-2ubuntu0.1~esm1

  • gnuplot-data 5.2.8+dfsg1-2ubuntu0.1~esm1-5.2.8+dfsg1-2ubuntu0.1~esm1

  • gnuplot-doc 5.2.8+dfsg1-2ubuntu0.1~esm1-5.2.8+dfsg1-2ubuntu0.1~esm1

  • gnuplot-nox 5.2.8+dfsg1-2ubuntu0.1~esm1-5.2.8+dfsg1-2ubuntu0.1~esm1

  • gnuplot-qt 5.2.8+dfsg1-2ubuntu0.1~esm1-5.2.8+dfsg1-2ubuntu0.1~esm1

  • gnuplot-x11 5.2.8+dfsg1-2ubuntu0.1~esm1-5.2.8+dfsg1-2ubuntu0.1~esm1

Interested in being alerted when there are new versions of gnuplot and the other packages? Set up an alert.
USN-7589-1: Gnuplot vulnerabilities | Package Alert