{"id":"CVE-2020-25559","aliases":["DEBIAN-CVE-2020-25559","EUVD-2020-18243","GHSA-v6mq-89c8-6ff4","MGASA-2021-0127","SUSE-SU-2021:0549-1","UBUNTU-CVE-2020-25559","USN-7589-1","openSUSE-SU-2021:0345-1","openSUSE-SU-2024:10800-1"],"status":"published","title":"gnuplot 5.5 is affected by double free when executing print_set_output. This may result in...","description":"gnuplot 5.5 is affected by double free when executing print_set_output. This may result in context-dependent arbitrary code execution.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.0157,"percentile":0.75578,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-415"],"published":"2020-09-16T12:38:57Z","modified":"2026-10-26T12:02:40Z","fixes":[{"ecosystem":"Debian:13","package":"gnuplot","fixed_in":["6.0.0+dfsg1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"gnuplot","fixed_in":["6.0.0+dfsg1-1"],"sources":["osv"]},{"ecosystem":"Mageia:7","package":"gnuplot","fixed_in":["5.2.2-5.2.mga7"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP2","package":"gnuplot","fixed_in":["5.2.2-3.6.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"gnuplot","fixed_in":["4.6.4-2ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"gnuplot","fixed_in":["4.6.6-3ubuntu0.1+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"gnuplot","fixed_in":["5.2.2+dfsg1-2ubuntu1+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"gnuplot","fixed_in":["5.2.8+dfsg1-2ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.2","package":"gnuplot","fixed_in":["5.2.2-lp152.6.3.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.4.4+dfsg1-2","6.0.0+dfsg1-1","6.0.0+dfsg1-2","6.0.0+dfsg1-3","6.0.2+dfsg1-1","6.0.2+dfsg1-2","6.0.3+dfsg1-1","6.0.3+dfsg1-1~exp1","6.0.3+dfsg1-1~exp2"]},{"source":"osv","ecosystem":"Debian:13","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.0+dfsg1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.0+dfsg1-1"}]}]},{"source":"osv","ecosystem":"Mageia:7","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.2-5.2.mga7"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP2","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.2-3.6.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.4-2ubuntu0.1~esm1"}]}],"versions":["4.6.3-2","4.6.4-1","4.6.4-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.6-3ubuntu0.1+esm1"}]}],"versions":["4.6.6-2","4.6.6-3","4.6.6-3ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.2+dfsg1-2ubuntu1+esm1"}]}],"versions":["5.0.7+dfsg1-1","5.2.2+dfsg1-2","5.2.2+dfsg1-2ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.8+dfsg1-2ubuntu0.1~esm1"}]}],"versions":["5.2.6+dfsg1-2","5.2.7+dfsg1-6","5.2.8+dfsg1-1","5.2.8+dfsg1-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.4-2ubuntu0.1~esm1"}]}],"versions":["4.6.3-2","4.6.4-1","4.6.4-2"],"bundled":7},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.6-3ubuntu0.1+esm1"}]}],"versions":["4.6.6-2","4.6.6-3","4.6.6-3ubuntu0.1"],"bundled":7},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.2+dfsg1-2ubuntu1+esm1"}]}],"versions":["5.0.7+dfsg1-1","5.2.2+dfsg1-2","5.2.2+dfsg1-2ubuntu1"],"bundled":7},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.8+dfsg1-2ubuntu0.1~esm1"}]}],"versions":["5.2.6+dfsg1-2","5.2.7+dfsg1-6","5.2.8+dfsg1-1","5.2.8+dfsg1-2"],"bundled":7},{"source":"osv","ecosystem":"openSUSE:Leap 15.2","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.2-lp152.6.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-1.3"}]}],"bundled":5}],"products":[{"vendor":"gnuplot","product":"gnuplot"}],"references":[{"url":"https://sourceforge.net/p/gnuplot/bugs/2312/","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25559"},{"url":"https://sourceforge.net/p/gnuplot/bugs/2312"},{"url":"https://github.com/advisories/GHSA-v6mq-89c8-6ff4"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-25559","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2021-0127.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=28553","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/CKEZYDL7ZTBAXXRLNGPXPFNXRKWZ3MXC/","tags":["web","advisory"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20210549-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1176689","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2020-25559","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2020-25559","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-25559","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-7589-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-19490","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-19491","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-19492","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-25412","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-25969","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-44917","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2017-9670","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-19490","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-19492","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-25412","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2020-25559","description":"gnuplot 5.5 is affected by double free when executing print_set_output. This may result in context-dependent arbitrary code execution.","status":"published","published":"2020-09-16T12:38:57Z","modified":"2024-08-04T15:33:05.685Z","updated_at":"2026-11-02T14:35:48.52216Z"}],"euvd":[{"id":"EUVD-2020-18243","description":"gnuplot 5.5 is affected by double free when executing print_set_output. This may result in context-dependent arbitrary code execution.","status":"published","published":"2020-09-16T12:38:57Z","modified":"2024-08-04T15:33:05Z","updated_at":"2026-11-03T03:07:17.764085Z"}],"ghsa":[{"id":"GHSA-v6mq-89c8-6ff4","title":"gnuplot 5.5 is affected by double free when executing print_set_output. This may result in...","description":"gnuplot 5.5 is affected by double free when executing print_set_output. This may result in context-dependent arbitrary code execution.","status":"published","published":"2022-05-24T17:28:29Z","modified":"2025-08-14T15:30:34Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T15:03:17.959289Z"}],"nvd":[{"id":"CVE-2020-25559","description":"gnuplot 5.5 is affected by double free when executing print_set_output. This may result in context-dependent arbitrary code execution.","status":"published","published":"2020-09-16T13:15:11.253Z","modified":"2026-06-17T03:06:53.81Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T14:06:14.981587Z"}],"osv":[{"id":"CVE-2020-25559","description":"gnuplot 5.5 is affected by double free when executing print_set_output. This may result in context-dependent arbitrary code execution.","status":"published","published":"2020-09-16T13:15:11.253Z","modified":"2026-04-16T04:40:04.672259107Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:15.879068Z"},{"id":"DEBIAN-CVE-2020-25559","description":"gnuplot 5.5 is affected by double free when executing print_set_output. This may result in context-dependent arbitrary code execution.","status":"published","published":"2020-09-16T13:15:11.253Z","modified":"2026-10-26T12:02:40.418478933Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:33.729655Z"},{"id":"UBUNTU-CVE-2020-25559","description":"gnuplot 5.5 is affected by double free when executing print_set_output. This may result in context-dependent arbitrary code execution.","status":"published","published":"2020-09-16T13:15:00Z","modified":"2026-02-04T03:17:31.475247Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:23.905183Z"},{"id":"MGASA-2021-0127","title":"Updated gnuplot packages fix a security vulnerability","description":"Double free when executing print_set_output() (CVE-2020-25559).\n\nAdditionally, a missing require for gnuplot has been added to\ngnuplot-qt package.\n","status":"published","published":"2021-03-12T01:25:47Z","modified":"2026-04-16T04:44:11.409112334Z","updated_at":"2026-11-02T15:49:41.509337Z"},{"id":"openSUSE-SU-2021:0345-1","title":"Security update for gnuplot","description":"This update for gnuplot fixes the following issues:\n\n- CVE-2020-25559: Fixed double free when executing print_set_output() (bsc#1176689).\n\nThis update was imported from the SUSE:SLE-15:Update update project.","status":"published","published":"2021-02-26T13:05:31Z","modified":"2026-02-04T02:54:45.417344Z","updated_at":"2026-11-02T16:58:31.879684Z"},{"id":"openSUSE-SU-2024:10800-1","title":"gnuplot-5.4.2-1.3 on GA media","description":"These are all security issues fixed in the gnuplot-5.4.2-1.3 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:56:19.386336Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"SUSE-SU-2021:0549-1","title":"Security update for gnuplot","description":"This update for gnuplot fixes the following issues:\n\n- CVE-2020-25559: Fixed double free when executing print_set_output() (bsc#1176689).\n","status":"published","published":"2021-02-23T08:24:17Z","modified":"2026-02-04T03:09:43.066985Z","updated_at":"2026-11-02T15:53:48.690034Z"},{"id":"USN-7589-1","title":"gnuplot vulnerabilities","description":"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's 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's 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)","status":"published","published":"2025-06-23T12:12:04Z","modified":"2026-06-25T13:32:30.390896706Z","updated_at":"2026-11-02T16:58:19.988474Z"}]}}
