USN-7589-1

Source
https://ubuntu.com/security/notices/USN-7589-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7589-1.json
JSON Data
https://api.test.osv.dev/v1/vulns/USN-7589-1
Related
Published
2025-06-23T12:12:04.386657Z
Modified
2025-06-23T12:12:04.386657Z
Summary
gnuplot vulnerabilities
Details

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 printsetoutput(). 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)

References

Affected packages

Ubuntu:Pro:14.04:LTS / gnuplot

Package

Name
gnuplot
Purl
pkg:deb/ubuntu/gnuplot@4.6.4-2ubuntu0.1~esm1?arch=source&distro=esm-infra-legacy/trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.6.4-2ubuntu0.1~esm1

Affected versions

4.*

4.6.3-2
4.6.4-1
4.6.4-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "gnuplot",
            "binary_version": "4.6.4-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "gnuplot-doc",
            "binary_version": "4.6.4-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "gnuplot-nox",
            "binary_version": "4.6.4-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "gnuplot-nox-dbgsym",
            "binary_version": "4.6.4-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "gnuplot-qt",
            "binary_version": "4.6.4-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "gnuplot-qt-dbgsym",
            "binary_version": "4.6.4-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "gnuplot-x11",
            "binary_version": "4.6.4-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "gnuplot-x11-dbgsym",
            "binary_version": "4.6.4-2ubuntu0.1~esm1"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / gnuplot

Package

Name
gnuplot
Purl
pkg:deb/ubuntu/gnuplot@4.6.6-3ubuntu0.1+esm1?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.6.6-3ubuntu0.1+esm1

Affected versions

4.*

4.6.6-2
4.6.6-3
4.6.6-3ubuntu0.1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "gnuplot",
            "binary_version": "4.6.6-3ubuntu0.1+esm1"
        },
        {
            "binary_name": "gnuplot-data",
            "binary_version": "4.6.6-3ubuntu0.1+esm1"
        },
        {
            "binary_name": "gnuplot-doc",
            "binary_version": "4.6.6-3ubuntu0.1+esm1"
        },
        {
            "binary_name": "gnuplot-nox",
            "binary_version": "4.6.6-3ubuntu0.1+esm1"
        },
        {
            "binary_name": "gnuplot-nox-dbgsym",
            "binary_version": "4.6.6-3ubuntu0.1+esm1"
        },
        {
            "binary_name": "gnuplot-qt",
            "binary_version": "4.6.6-3ubuntu0.1+esm1"
        },
        {
            "binary_name": "gnuplot-qt-dbgsym",
            "binary_version": "4.6.6-3ubuntu0.1+esm1"
        },
        {
            "binary_name": "gnuplot-tex",
            "binary_version": "4.6.6-3ubuntu0.1+esm1"
        },
        {
            "binary_name": "gnuplot-x11",
            "binary_version": "4.6.6-3ubuntu0.1+esm1"
        },
        {
            "binary_name": "gnuplot-x11-dbgsym",
            "binary_version": "4.6.6-3ubuntu0.1+esm1"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / gnuplot

Package

Name
gnuplot
Purl
pkg:deb/ubuntu/gnuplot@5.2.2+dfsg1-2ubuntu1+esm1?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.2.2+dfsg1-2ubuntu1+esm1

Affected versions

5.*

5.0.7+dfsg1-1
5.2.2+dfsg1-2
5.2.2+dfsg1-2ubuntu1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "gnuplot",
            "binary_version": "5.2.2+dfsg1-2ubuntu1+esm1"
        },
        {
            "binary_name": "gnuplot-data",
            "binary_version": "5.2.2+dfsg1-2ubuntu1+esm1"
        },
        {
            "binary_name": "gnuplot-doc",
            "binary_version": "5.2.2+dfsg1-2ubuntu1+esm1"
        },
        {
            "binary_name": "gnuplot-nox",
            "binary_version": "5.2.2+dfsg1-2ubuntu1+esm1"
        },
        {
            "binary_name": "gnuplot-nox-dbgsym",
            "binary_version": "5.2.2+dfsg1-2ubuntu1+esm1"
        },
        {
            "binary_name": "gnuplot-qt",
            "binary_version": "5.2.2+dfsg1-2ubuntu1+esm1"
        },
        {
            "binary_name": "gnuplot-qt-dbgsym",
            "binary_version": "5.2.2+dfsg1-2ubuntu1+esm1"
        },
        {
            "binary_name": "gnuplot-x11",
            "binary_version": "5.2.2+dfsg1-2ubuntu1+esm1"
        },
        {
            "binary_name": "gnuplot-x11-dbgsym",
            "binary_version": "5.2.2+dfsg1-2ubuntu1+esm1"
        }
    ]
}

Ubuntu:Pro:20.04:LTS / gnuplot

Package

Name
gnuplot
Purl
pkg:deb/ubuntu/gnuplot@5.2.8+dfsg1-2ubuntu0.1~esm1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.2.8+dfsg1-2ubuntu0.1~esm1

Affected versions

5.*

5.2.6+dfsg1-2
5.2.7+dfsg1-6
5.2.8+dfsg1-1
5.2.8+dfsg1-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "gnuplot",
            "binary_version": "5.2.8+dfsg1-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "gnuplot-data",
            "binary_version": "5.2.8+dfsg1-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "gnuplot-doc",
            "binary_version": "5.2.8+dfsg1-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "gnuplot-nox",
            "binary_version": "5.2.8+dfsg1-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "gnuplot-nox-dbgsym",
            "binary_version": "5.2.8+dfsg1-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "gnuplot-qt",
            "binary_version": "5.2.8+dfsg1-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "gnuplot-qt-dbgsym",
            "binary_version": "5.2.8+dfsg1-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "gnuplot-x11",
            "binary_version": "5.2.8+dfsg1-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "gnuplot-x11-dbgsym",
            "binary_version": "5.2.8+dfsg1-2ubuntu0.1~esm1"
        }
    ]
}