usn-7589-1
Vulnerability from osv_ubuntu
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)
{
"affected": [
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2018-19490",
"severity": [
{
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2018-19491",
"severity": [
{
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2018-19492",
"severity": [
{
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2020-25559",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2020-25969",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2021-44917",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:14.04:LTS"
}
},
"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-nox",
"binary_version": "4.6.4-2ubuntu0.1~esm1"
},
{
"binary_name": "gnuplot-qt",
"binary_version": "4.6.4-2ubuntu0.1~esm1"
},
{
"binary_name": "gnuplot-x11",
"binary_version": "4.6.4-2ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "gnuplot",
"purl": "pkg:deb/ubuntu/gnuplot@4.6.4-2ubuntu0.1~esm1?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.6.4-2ubuntu0.1~esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.6.3-2",
"4.6.4-1",
"4.6.4-2"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2020-25559",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2020-25969",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2021-44917",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:16.04:LTS"
}
},
"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-nox",
"binary_version": "4.6.6-3ubuntu0.1+esm1"
},
{
"binary_name": "gnuplot-qt",
"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"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "gnuplot",
"purl": "pkg:deb/ubuntu/gnuplot@4.6.6-3ubuntu0.1+esm1?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.6.6-3ubuntu0.1+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.6.6-2",
"4.6.6-3",
"4.6.6-3ubuntu0.1"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2018-19490",
"severity": [
{
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2018-19491",
"severity": [
{
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2018-19492",
"severity": [
{
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2020-25559",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2020-25969",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2021-44917",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:18.04:LTS"
}
},
"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-nox",
"binary_version": "5.2.2+dfsg1-2ubuntu1+esm1"
},
{
"binary_name": "gnuplot-qt",
"binary_version": "5.2.2+dfsg1-2ubuntu1+esm1"
},
{
"binary_name": "gnuplot-x11",
"binary_version": "5.2.2+dfsg1-2ubuntu1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "gnuplot",
"purl": "pkg:deb/ubuntu/gnuplot@5.2.2+dfsg1-2ubuntu1+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.2.2+dfsg1-2ubuntu1+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.0.7+dfsg1-1",
"5.2.2+dfsg1-2",
"5.2.2+dfsg1-2ubuntu1"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2020-25412",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2020-25559",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2020-25969",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2021-44917",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:20.04:LTS"
}
},
"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-nox",
"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-x11",
"binary_version": "5.2.8+dfsg1-2ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "gnuplot",
"purl": "pkg:deb/ubuntu/gnuplot@5.2.8+dfsg1-2ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.2.8+dfsg1-2ubuntu0.1~esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.2.6+dfsg1-2",
"5.2.7+dfsg1-6",
"5.2.8+dfsg1-1",
"5.2.8+dfsg1-2"
]
}
],
"aliases": [],
"details": "Tim Blazytko, Cornelius Aschermann, Sergej Schumilo, and Nils Bars\ndiscovered that Gnuplot had several memory-related issues. An\nattacker could possibly use these issues to cause Gnuplot to\nexperience a buffer overflow, resulting in a denial of service or\narbitrary code execution. These issues only affected Ubuntu\n14.04 LTS and Ubuntu 18.04 LTS. (CVE-2018-19490, CVE-2018-19491,\nCVE-2018-19492)\n\nIt was discovered that Gnuplot could write out-of-bounds due to\nthe use of strncpy(). An attacker could possibly use this issue\nto enable the execution of arbitrary code. This issue only\naffected Ubuntu 20.04 LTS. (CVE-2020-25412)\n\nIt was discovered that Gnuplot incorrectly freed memory when\nexecuting print_set_output(). An attacker could possibly use this\nissue to enable the execution of arbitrary code. (CVE-2020-25559)\n\nIt was discovered that Gnuplot\u0027s plotrequest() function contained\na buffer overflow. An attacker could possibly use this issue to\ncause Gnuplot to crash, resulting in a denial of service or\narbitrary code execution. (CVE-2020-25969)\n\nIt was discovered that Gnuplot\u0027s boundary3d() function could be\nmade to divide by zero. An attacker could possibly use this issue\nto cause Gnuplot to crash, resulting in a denial of service.\n(CVE-2021-44917)",
"id": "USN-7589-1",
"modified": "2026-06-25T10:46:51Z",
"published": "2025-06-23T12:12:04Z",
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7589-1"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2018-19490"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2018-19491"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2018-19492"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2020-25412"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2020-25559"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2020-25969"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2021-44917"
}
],
"related": [],
"schema_version": "1.7.0",
"summary": "gnuplot vulnerabilities",
"upstream": [
"UBUNTU-CVE-2018-19490",
"UBUNTU-CVE-2018-19491",
"UBUNTU-CVE-2018-19492",
"UBUNTU-CVE-2020-25412",
"UBUNTU-CVE-2020-25559",
"UBUNTU-CVE-2020-25969",
"UBUNTU-CVE-2021-44917"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.