{"id":"UBUNTU-CVE-2018-19490","details":"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.","modified":"2026-02-04T02:38:44.405574Z","published":"2018-11-23T17:29:00Z","related":["USN-4541-1","USN-7589-1"],"upstream":["CVE-2018-19490"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-19490"},{"type":"REPORT","url":"https://sourceforge.net/p/gnuplot/bugs/2093/"},{"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-19490"},{"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":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_version":"4.6.4-2ubuntu0.1~esm1","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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-19490.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":{"availability":"No subscription required","binaries":[{"binary_version":"4.6.6-3ubuntu0.1","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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-19490.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_version":"5.0.3+dfsg2-1","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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-19490.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":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"5.2.2+dfsg1-2ubuntu1+esm1","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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-19490.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"}]}