{"id":"UBUNTU-CVE-2020-25412","details":"com_line() in command.c in gnuplot 5.4 leads to an out-of-bounds-write from strncpy() that may lead to arbitrary code execution.","modified":"2026-02-04T03:35:40.931963Z","published":"2020-09-16T14:15:00Z","related":["USN-7589-1"],"upstream":["CVE-2020-25412"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-25412"},{"type":"REPORT","url":"https://sourceforge.net/p/gnuplot/bugs/2303/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-25412"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7589-1"}],"affected":[{"package":{"name":"gnuplot","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/gnuplot@5.2.8+dfsg1-2ubuntu0.1~esm1?arch=source&distro=esm-apps/focal"},"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"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"5.2.8+dfsg1-2ubuntu0.1~esm1","binary_name":"gnuplot"},{"binary_version":"5.2.8+dfsg1-2ubuntu0.1~esm1","binary_name":"gnuplot-data"},{"binary_version":"5.2.8+dfsg1-2ubuntu0.1~esm1","binary_name":"gnuplot-nox"},{"binary_version":"5.2.8+dfsg1-2ubuntu0.1~esm1","binary_name":"gnuplot-qt"},{"binary_version":"5.2.8+dfsg1-2ubuntu0.1~esm1","binary_name":"gnuplot-x11"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-25412.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}