{"id":"UBUNTU-CVE-2018-16140","details":"A buffer underwrite vulnerability in get_line() (read.c) in fig2dev 3.2.7a allows an attacker to write prior to the beginning of the buffer via a crafted .fig file.","modified":"2026-02-04T03:49:24.393814Z","published":"2018-08-29T00:00:00Z","related":["USN-3760-1"],"upstream":["CVE-2018-16140"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-16140"},{"type":"REPORT","url":"https://sourceforge.net/p/mcj/tickets/28/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3760-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-16140"}],"affected":[{"package":{"name":"transfig","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/transfig@1:3.2.5.e-1ubuntu1.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.2.5.e-1ubuntu1.1"}]}],"versions":["1:3.2.5.d-3ubuntu1","1:3.2.5.e-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"transfig","binary_version":"1:3.2.5.e-1ubuntu1.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-16140.json"}},{"package":{"name":"transfig","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/transfig@1:3.2.5.e-5ubuntu0.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.2.5.e-5ubuntu0.1"}]}],"versions":["1:3.2.5.e-4","1:3.2.5.e-5"],"ecosystem_specific":{"binaries":[{"binary_name":"transfig","binary_version":"1:3.2.5.e-5ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-16140.json"}},{"package":{"name":"fig2dev","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/fig2dev@1:3.2.6a-6ubuntu1.1+esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:3.2.6a-3","1:3.2.6a-4","1:3.2.6a-4ubuntu1","1:3.2.6a-6ubuntu1","1:3.2.6a-6ubuntu1.1","1:3.2.6a-6ubuntu1.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"fig2dev","binary_version":"1:3.2.6a-6ubuntu1.1+esm1"},{"binary_name":"transfig","binary_version":"1:3.2.6a-6ubuntu1.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-16140.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":"medium"}]}