{"id":"UBUNTU-CVE-2016-8697","details":"The bm_new function in bitmap.h in potrace before 1.13 allows remote attackers to cause a denial of service (divide-by-zero error and crash) via a crafted BMP image.","modified":"2025-07-16T07:35:12.052966Z","published":"2017-01-31T22:59:00Z","withdrawn":"2025-07-18T16:43:39Z","upstream":["CVE-2016-8697"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-8697"},{"type":"REPORT","url":"https://blogs.gentoo.org/ago/2016/08/08/potrace-divide-by-zero-in-bm_new-bitmap-h/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-8697"}],"affected":[{"package":{"name":"potrace","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/potrace@1.13-2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13-2"}]}],"versions":["1.12-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.13-2","binary_name":"libpotrace-dev"},{"binary_version":"1.13-2","binary_name":"libpotrace0"},{"binary_version":"1.13-2","binary_name":"libpotrace0-dbgsym"},{"binary_version":"1.13-2","binary_name":"potrace"},{"binary_version":"1.13-2","binary_name":"potrace-dbgsym"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-8697.json"}},{"package":{"name":"potrace","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/potrace@1.14-2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.14-2"}]}],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.14-2","binary_name":"libpotrace-dev"},{"binary_version":"1.14-2","binary_name":"libpotrace0"},{"binary_version":"1.14-2","binary_name":"libpotrace0-dbgsym"},{"binary_version":"1.14-2","binary_name":"potrace"},{"binary_version":"1.14-2","binary_name":"potrace-dbgsym"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-8697.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:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}