{"schemaVersion":3,"id":"CVE-2018-19490","aliases":["UBUNTU-CVE-2018-19490","DEBIAN-CVE-2018-19490"],"status":"published","duplicateOf":null,"title":null,"description":"An issue was discovered in datafile.c in Gnuplot 5.2.5. This issue allows an attacker to conduct a heap-based buffer overflow with an arbitrary amount of data in df_generate_ascii_array_entry. To exploit this vulnerability, an attacker must pass an overlong string as the right bound of the range argument that is passed to the plot function.","dates":{"published":"2018-11-23T17:00:00.000Z","modified":"2024-08-05T11:37:11.482Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.0/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},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.0/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.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.01769,"percentile":0.77788,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.008000000000000021,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01777},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02776,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01769,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01769,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01769,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01769,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01769,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01769,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01769,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01769,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01769,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01769,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01769,"percentile":0.77788}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02776,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01777,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01769,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01769,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01769,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01769,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01769,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01769,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01769,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01769,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01769,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01769,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01769,"percentile":0.77788}]},"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_B5C0B088AC70942E","name":"Exploit Reference (sourceforge.net)","source":"reference","url":"https://sourceforge.net/p/gnuplot/bugs/2093/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"debian","product":"gnuplot","name":"gnuplot","label":"gnuplot","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/gnuplot","purlType":"deb","versions":[{"text":"< 5.4.0+dfsg1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.4.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","noFixRecorded":false,"fixedIn":null},{"text":"< 5.2.2+dfsg1-2ubuntu1+esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.6.4-2ubuntu0.1~esm1 | < 4.6.6-3ubuntu0.1 | < 5.2.2+dfsg1-2ubuntu1+esm1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"gnuplot5","name":"gnuplot5","label":"gnuplot5","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/gnuplot5","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0","eol":{"isEol":true,"eolDate":"2020-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Jessie)","eolFrom":"2020-06-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"8.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"gnuplot","product":"gnuplot","name":"gnuplot","label":"gnuplot","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"5.2.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"5.2.5","eol":null,"hubHref":"/vendor/gnuplot/gnuplot"},{"vendor":"opensuse","product":"leap","name":"leap","label":"leap","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"15.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"15.0","eol":{"isEol":true,"eolDate":"2019-12-03T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"15.0","label":"Leap 15.0","eolFrom":"2019-12-03T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/leap"}],"affectedCount":6,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://sourceforge.net/p/gnuplot/bugs/2093/","label":"sourceforge.net/p/gnuplot/bugs/2093/","hostname":"sourceforge.net","tags":["X Refsource MISC","Exploit","Third Party Advisory","REPORT"]},{"url":"https://sourceforge.net/p/gnuplot/gnuplot-main/ci/d5020716834582b20a5e12cdd49f39ee4f9dd949/","label":"sourceforge.net/p/gnuplot/gnuplot-main/ci/d5020716834582b20a5e12cdd49f39ee4f9dd949/","hostname":"sourceforge.net","tags":["X Refsource MISC","Patch","Third Party Advisory","REPORT"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/11/msg00035.html","label":"lists.debian.org/debian-lts-announce/2018/11/msg00035.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/11/msg00031.html","label":"lists.debian.org/debian-lts-announce/2018/11/msg00031.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00066.html","label":"lists.opensuse.org/opensuse-security-announce/2019-04/msg00066.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"https://usn.ubuntu.com/4541-1/","label":"usn.ubuntu.com/4541-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU"]},{"url":"https://ubuntu.com/security/CVE-2018-19490","label":"ubuntu.com/security/CVE-2018-19490","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4541-1","label":"ubuntu.com/security/notices/USN-4541-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-19490","label":"www.cve.org/CVERecord?id=CVE-2018-19490","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-2018-19490","label":"security-tracker.debian.org/tracker/CVE-2018-19490","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-1595-1","DLA-1597-1","OPENSUSE-SU-2019:1216-1","OPENSUSE-SU-2024:10800-1","SUSE-SU-2019:0904-1","SUSE-SU-2020:1660-1","USN-4541-1","USN-7589-1"],"duplicates":[],"related":["OPENSUSE-SU-2019:1216-1","OPENSUSE-SU-2024:10800-1","SUSE-SU-2019:0904-1","SUSE-SU-2020:1660-1","USN-4541-1","USN-7589-1"]},"timeline":[{"kind":"published","date":"2018-11-23T17:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T11:37:11.482Z","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-19T18:03:37.909Z","stale":false,"partial":false}}