{"id":"CVE-2018-19492","aliases":["DEBIAN-CVE-2018-19492","DLA-1595-1","DLA-1597-1","EUVD-2018-11181","GHSA-vfqh-j3mg-95c7","SUSE-SU-2019:0904-1","SUSE-SU-2020:1660-1","UBUNTU-CVE-2018-19492","USN-4541-1","USN-7589-1","openSUSE-SU-2019:1216-1","openSUSE-SU-2024:10800-1"],"status":"published","title":"An issue was discovered in cairo.trm in Gnuplot 5.2.5. This issue allows an attacker to conduct a...","description":"An issue was discovered in cairo.trm in Gnuplot 5.2.5. This issue allows an attacker to conduct a buffer overflow with an arbitrary amount of data in the cairotrm_options function. This flaw is caused by a missing size check of an argument passed to the \"set font\" function. This issue occurs when the Gnuplot pngcairo terminal is used as a backend.","severity":{"version":"3.0","score":7.8,"vector":"CVSS:3.0/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-08","score":0.01777,"percentile":0.78361,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2018-11-23T17:00:00Z","modified":"2026-10-24T10:30:33Z","fixes":[{"ecosystem":"Debian:12","package":"gnuplot","fixed_in":["5.4.0+dfsg1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"gnuplot","fixed_in":["5.4.0+dfsg1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"gnuplot","fixed_in":["5.4.0+dfsg1-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"gnuplot","fixed_in":["4.6.4-2ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"gnuplot","fixed_in":["4.6.6-3ubuntu0.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"gnuplot","fixed_in":["5.2.2+dfsg1-2ubuntu1+esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.0+dfsg1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.0+dfsg1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.0+dfsg1-1"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"gnuplot5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.0~rc+dfsg2-1+deb8u1"}]}],"versions":["5.0.0~rc+dfsg2-1"],"bundled":3},{"source":"osv","ecosystem":"Debian:8","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.6-2+deb8u1"}]}],"versions":["4.6.6-2"],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.2-3.3.29"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP4","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.5-3.3.74"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.5-3.3.74"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP5","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.5-3.3.74"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.5-3.3.74"}]}],"bundled":4},{"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:16.04:LTS","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.6-3ubuntu0.1"}]}],"versions":["4.6.6-2","4.6.6-3"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"gnuplot5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.1+dfsg1-3","5.0.2+dfsg1-1","5.0.2+dfsg1-2","5.0.3+dfsg1-1","5.0.3+dfsg1-2","5.0.3+dfsg2-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:16.04:LTS","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.6-3ubuntu0.1"}]}],"versions":["4.6.6-2","4.6.6-3"],"bundled":3},{"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.0","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.2-lp150.3.3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"gnuplot","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-1.3"}]}],"bundled":5}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"gnuplot","product":"gnuplot"},{"vendor":"opensuse","product":"leap"}],"references":[{"url":"https://sourceforge.net/p/gnuplot/gnuplot-main/ci/d5020716834582b20a5e12cdd49f39ee4f9dd949/","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/11/msg00035.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://sourceforge.net/p/gnuplot/bugs/2089/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/11/msg00031.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00066.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://usn.ubuntu.com/4541-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-19492"},{"url":"https://github.com/advisories/GHSA-vfqh-j3mg-95c7"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-19492","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-20190904-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1117463","tags":["report"]},{"url":"https://bugzilla.suse.com/1117464","tags":["report"]},{"url":"https://bugzilla.suse.com/1117465","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2018-19490","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-19491","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-19492","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2020/suse-su-20201660-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1044638","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-9670","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2018-19492","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4541-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-19492","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-2020-25412","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-25559","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-25969","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-44917","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/FVYXQKAAS3SOM2ORYIAOLORWYBNTGKFH/#FVYXQKAAS3SOM2ORYIAOLORWYBNTGKFH","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2020-25412","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-25559","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-19492","description":"An issue was discovered in cairo.trm in Gnuplot 5.2.5. This issue allows an attacker to conduct a buffer overflow with an arbitrary amount of data in the cairotrm_options function. This flaw is caused by a missing size check of an argument passed to the \"set font\" function. This issue occurs when the Gnuplot pngcairo terminal is used as a backend.","status":"published","published":"2018-11-23T17:00:00Z","modified":"2024-08-05T11:37:11.491Z","updated_at":"2026-11-02T14:35:02.966615Z"}],"euvd":[{"id":"EUVD-2018-11181","description":"An issue was discovered in cairo.trm in Gnuplot 5.2.5. This issue allows an attacker to conduct a buffer overflow with an arbitrary amount of data in the cairotrm_options function. This flaw is caused by a missing size check of an argument passed to the \"set font\" function. This issue occurs when the Gnuplot pngcairo terminal is used as a backend.","status":"published","published":"2018-11-23T17:00:00Z","modified":"2024-08-05T11:37:11Z","updated_at":"2026-11-03T02:39:33.35436Z"}],"ghsa":[{"id":"GHSA-vfqh-j3mg-95c7","title":"An issue was discovered in cairo.trm in Gnuplot 5.2.5. This issue allows an attacker to conduct a...","description":"An issue was discovered in cairo.trm in Gnuplot 5.2.5. This issue allows an attacker to conduct a buffer overflow with an arbitrary amount of data in the cairotrm_options function. This flaw is caused by a missing size check of an argument passed to the \"set font\" function. This issue occurs when the Gnuplot pngcairo terminal is used as a backend.","status":"published","published":"2022-05-13T01:15:23Z","modified":"2023-02-01T05:04:43Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:50:10.892175Z"}],"nvd":[{"id":"CVE-2018-19492","description":"An issue was discovered in cairo.trm in Gnuplot 5.2.5. This issue allows an attacker to conduct a buffer overflow with an arbitrary amount of data in the cairotrm_options function. This flaw is caused by a missing size check of an argument passed to the \"set font\" function. This issue occurs when the Gnuplot pngcairo terminal is used as a backend.","status":"published","published":"2018-11-23T17:29:00.407Z","modified":"2026-06-17T01:49:22.873Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/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-119"],"updated_at":"2026-11-02T14:04:48.987926Z"}],"osv":[{"id":"CVE-2018-19492","description":"An issue was discovered in cairo.trm in Gnuplot 5.2.5. This issue allows an attacker to conduct a buffer overflow with an arbitrary amount of data in the cairotrm_options function. This flaw is caused by a missing size check of an argument passed to the \"set font\" function. This issue occurs when the Gnuplot pngcairo terminal is used as a backend.","status":"published","published":"2018-11-23T17:29:00.407Z","modified":"2026-10-24T10:30:33.165399442Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:08.834469Z"},{"id":"DEBIAN-CVE-2018-19492","description":"An issue was discovered in cairo.trm in Gnuplot 5.2.5. This issue allows an attacker to conduct a buffer overflow with an arbitrary amount of data in the cairotrm_options function. This flaw is caused by a missing size check of an argument passed to the \"set font\" function. This issue occurs when the Gnuplot pngcairo terminal is used as a backend.","status":"published","published":"2018-11-23T17:29:00.407Z","modified":"2026-10-23T18:03:04.09388593Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:30.57382Z"},{"id":"UBUNTU-CVE-2018-19492","description":"An issue was discovered in cairo.trm in Gnuplot 5.2.5. This issue allows an attacker to conduct a buffer overflow with an arbitrary amount of data in the cairotrm_options function. This flaw is caused by a missing size check of an argument passed to the \"set font\" function. This issue occurs when the Gnuplot pngcairo terminal is used as a backend.","status":"published","published":"2018-11-23T17:29:00Z","modified":"2026-02-04T02:13:03.014259Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:17.496046Z"},{"id":"DLA-1595-1","title":"gnuplot5 - security update","status":"published","published":"2018-11-25T00:00:00Z","modified":"2026-03-09T01:01:38.61986Z","updated_at":"2026-11-02T15:46:09.777694Z"},{"id":"DLA-1597-1","title":"gnuplot - security update","status":"published","published":"2018-11-26T00:00:00Z","modified":"2026-03-09T01:22:32.10124Z","updated_at":"2026-11-02T15:46:09.777694Z"},{"id":"openSUSE-SU-2019:1216-1","title":"Security update for gnuplot","description":"This update for gnuplot fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2018-19492: Fixed a buffer overflow in cairotrm_options function (bsc#1117463)\n- CVE-2018-19491: Fixed a buffer overlow in the PS_options function (bsc#1117464)\n- CVE-2018-19490: Fixed a heap-based buffer overflow in the df_generate_ascii_array_entry function (bsc#1117465)\n\nThis update was imported from the SUSE:SLE-15:Update update project.","status":"published","published":"2019-04-16T15:00:37Z","modified":"2026-02-04T04:02:26.505935Z","updated_at":"2026-11-02T16:58:30.784344Z"},{"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-2019:0904-1","title":"Security update for gnuplot","description":"This update for gnuplot fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2018-19492: Fixed a buffer overflow in cairotrm_options function (bsc#1117463)\n- CVE-2018-19491: Fixed a buffer overlow in the PS_options function (bsc#1117464)\n- CVE-2018-19490: Fixed a heap-based buffer overflow in the df_generate_ascii_array_entry function (bsc#1117465)\n","status":"published","published":"2019-04-08T13:42:25Z","modified":"2026-02-04T03:27:54.124762Z","updated_at":"2026-11-02T15:53:45.926331Z"},{"id":"SUSE-SU-2020:1660-1","title":"Security update for gnuplot","description":"This update for gnuplot fixes the following issues:\n\nFollowing security issues were fixed:\n\n- CVE-2018-19492: Fixed a buffer overflow in cairotrm_options function (bsc#1117463)\n- CVE-2018-19491: Fixed a buffer overlow in the PS_options function (bsc#1117464)\n- CVE-2018-19490: Fixed a heap-based buffer overflow in the df_generate_ascii_array_entry function (bsc#1117465)\n- CVE-2017-9670: Fixed a uninitialized stack variable vulnerability which could lead to a Denial of Service (bsc#1044638)\n","status":"published","published":"2020-06-18T09:10:01Z","modified":"2026-02-04T03:24:10.284249Z","updated_at":"2026-11-02T15:53:47.634847Z"},{"id":"USN-4541-1","title":"gnuplot vulnerabilities","description":"Tim Blazytko, Cornelius Aschermann, Sergej Schumilo and Nils Bars \ndiscovered that Gnuplot did not properly validate string sizes in the\ndf_generate_ascii_array_entry function. An attacker could possibly use\nthis issue to cause a heap buffer overflow, resulting in a denial of \nservice attack or arbitrary code execution. (CVE-2018-19490)\n\nTim Blazytko, Cornelius Aschermann, Sergej Schumilo and Nils Bars \ndiscovered that Gnuplot did not properly validate string sizes in the \nPS_options function when the Gnuplot postscript terminal is used as a \nbackend. An attacker could possibly use this issue to cause a buffer\noverflow, resulting in a denial of service attack or arbitrary code \nexecution. (CVE-2018-19491)\n\nTim Blazytko, Cornelius Aschermann, Sergej Schumilo and Nils Bars \ndiscovered that Gnuplot did not properly validate string sizes in the \ncairotrm_options function when the Gnuplot postscript terminal is used as\na backend. An attacker could possibly use this issue to cause a buffer\noverflow, resulting in a denial of service attack or arbitrary code \nexecution. (CVE-2018-19492)\n","status":"published","published":"2020-09-25T17:14:48Z","modified":"2026-04-27T15:42:41.404434Z","updated_at":"2026-11-02T16:58:14.547547Z"},{"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"}]}}
