{"id":"UBUNTU-CVE-2018-19491","details":"An issue was discovered in post.trm in Gnuplot 5.2.5. This issue allows an attacker to conduct a buffer overflow with an arbitrary amount of data in the PS_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 postscript terminal is used as a backend.","modified":"2026-01-30T02:24:08.683473Z","published":"2018-11-23T17:29:00Z","related":["USN-4541-1","USN-7589-1"],"upstream":["CVE-2018-19491"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-19491"},{"type":"REPORT","url":"https://sourceforge.net/p/gnuplot/bugs/2094/"},{"type":"REPORT","url":"https://sourceforge.net/p/gnuplot/gnuplot-main/ci/d5020716834582b20a5e12cdd49f39ee4f9dd949/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4541-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-19491"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7589-1"}],"affected":[{"package":{"name":"gnuplot","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/gnuplot@4.6.4-2ubuntu0.1~esm1?arch=source&distro=esm-infra-legacy/trusty"},"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"],"ecosystem_specific":{"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"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-19491.json"}},{"package":{"name":"gnuplot","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/gnuplot@4.6.6-3ubuntu0.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.6-3ubuntu0.1"}]}],"versions":["4.6.6-2","4.6.6-3"],"ecosystem_specific":{"binaries":[{"binary_name":"gnuplot","binary_version":"4.6.6-3ubuntu0.1"},{"binary_name":"gnuplot-data","binary_version":"4.6.6-3ubuntu0.1"},{"binary_name":"gnuplot-nox","binary_version":"4.6.6-3ubuntu0.1"},{"binary_name":"gnuplot-qt","binary_version":"4.6.6-3ubuntu0.1"},{"binary_name":"gnuplot-tex","binary_version":"4.6.6-3ubuntu0.1"},{"binary_name":"gnuplot-x11","binary_version":"4.6.6-3ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-19491.json"}},{"package":{"name":"gnuplot5","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/gnuplot5@5.0.3+dfsg2-1?arch=source&distro=xenial"},"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"],"ecosystem_specific":{"binaries":[{"binary_name":"gnuplot5","binary_version":"5.0.3+dfsg2-1"},{"binary_name":"gnuplot5-data","binary_version":"5.0.3+dfsg2-1"},{"binary_name":"gnuplot5-nox","binary_version":"5.0.3+dfsg2-1"},{"binary_name":"gnuplot5-qt","binary_version":"5.0.3+dfsg2-1"},{"binary_name":"gnuplot5-x11","binary_version":"5.0.3+dfsg2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-19491.json"}},{"package":{"name":"gnuplot","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/gnuplot@5.2.2+dfsg1-2ubuntu1+esm1?arch=source&distro=esm-apps/bionic"},"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"],"ecosystem_specific":{"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"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-19491.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}