{"schemaVersion":3,"id":"CVE-2020-25559","aliases":["MGASA-2021-0127","SUSE-SU-2021:0549-1","UBUNTU-CVE-2020-25559","DEBIAN-CVE-2020-25559","openSUSE-SU-2021:0345-1"],"status":"published","duplicateOf":null,"title":null,"description":"gnuplot 5.5 is affected by double free when executing print_set_output. This may result in context-dependent arbitrary code execution.","dates":{"published":"2020-09-16T12:38:57.000Z","modified":"2024-08-04T15:33:05.685Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0157,"percentile":0.75025,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.0157},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0157,"percentile":0.75025}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0157,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0157,"percentile":0.75025}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_69417DCA5FF52C4D","name":"Exploit Reference (sourceforge.net)","source":"reference","url":"https://sourceforge.net/p/gnuplot/bugs/2312/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-415","name":"Double Free","description":"The product calls free() twice on the same memory address.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/415.html"}],"affected":[{"vendor":"debian","product":"gnuplot","name":"gnuplot","label":"gnuplot","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/gnuplot","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 6.0.0+dfsg1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 6.0.0+dfsg1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"gnuplot","name":"gnuplot","label":"gnuplot","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/gnuplot","purlType":"deb","versions":[{"text":"< 4.6.4-2ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 4.6.6-3ubuntu0.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 5.2.2+dfsg1-2ubuntu1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 5.2.8+dfsg1-2ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.6.4-2ubuntu0.1~esm1 | < 4.6.6-3ubuntu0.1+esm1 | < 5.2.2+dfsg1-2ubuntu1+esm1 | < 5.2.8+dfsg1-2ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"gnuplot","product":"gnuplot","name":"gnuplot","label":"gnuplot","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"5.5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"5.5.0","eol":null,"hubHref":"/vendor/gnuplot/gnuplot"},{"vendor":"mageia","product":"gnuplot","name":"gnuplot","label":"gnuplot","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/gnuplot","purlType":"rpm","versions":[{"text":"< 5.2.2-5.2.mga7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.2.2-5.2.mga7","eol":null,"hubHref":null},{"vendor":"opensuse","product":"gnuplot&distro=openSUSE Leap 15.2","name":"gnuplot","label":"gnuplot&distro=openSUSE Leap 15.2","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/gnuplot&distro=openSUSE Leap 15.2","purlType":"rpm","versions":[{"text":"< 5.2.2-lp152.6.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.2.2-lp152.6.3.1","eol":null,"hubHref":null},{"vendor":"suse","product":"gnuplot&distro=SUSE Linux Enterprise Module for Server Applications 15 SP2","name":"gnuplot","label":"gnuplot&distro=SUSE Linux Enterprise Module for Server Applications 15 SP2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/gnuplot&distro=SUSE Linux Enterprise Module for Server Applications 15 SP2","purlType":"rpm","versions":[{"text":"< 5.2.2-3.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.2.2-3.6.1","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://sourceforge.net/p/gnuplot/bugs/2312/","label":"sourceforge.net/p/gnuplot/bugs/2312/","hostname":"sourceforge.net","tags":["X Refsource MISC","REPORT","Exploit","Patch","Third Party Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2021-0127.html","label":"advisories.mageia.org/MGASA-2021-0127.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=28553","label":"bugs.mageia.org/show_bug.cgi?id=28553","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/CKEZYDL7ZTBAXXRLNGPXPFNXRKWZ3MXC/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["WEB","Advisory"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20210549-1/","label":"www.suse.com/support/update/announcement/2021/suse-su-20210549-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1176689","label":"bugzilla.suse.com/1176689","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2020-25559","label":"www.suse.com/security/cve/CVE-2020-25559","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2020-25559","label":"ubuntu.com/security/CVE-2020-25559","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-25559","label":"www.cve.org/CVERecord?id=CVE-2020-25559","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7589-1","label":"ubuntu.com/security/notices/USN-7589-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-25559","label":"security-tracker.debian.org/tracker/CVE-2020-25559","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:10800-1","USN-7589-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10800-1","USN-7589-1"]},"timeline":[{"kind":"published","date":"2020-09-16T12:38:57.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T15:33:05.685Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":42,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T16:18:24.487Z","stale":false,"partial":false}}