{"id":"UBUNTU-CVE-2016-3982","details":"Off-by-one error in the bmp_rle4_fread function in pngxrbmp.c in OptiPNG before 0.7.6 allows remote attackers to cause a denial of service (out-of-bounds read or write access and crash) or possibly execute arbitrary code via a crafted image file, which triggers a heap-based buffer overflow.","modified":"2026-02-04T03:02:31.547969Z","published":"2016-04-13T00:00:00Z","related":["USN-2951-1"],"upstream":["CVE-2016-3982"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-3982"},{"type":"REPORT","url":"http://www.debian.org/security/2016/dsa-3546"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-2951-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-3982"}],"affected":[{"package":{"name":"optipng","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/optipng@0.6.4-1ubuntu0.14.04.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.4-1ubuntu0.14.04.1"}]}],"versions":["0.6.4-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"optipng","binary_version":"0.6.4-1ubuntu0.14.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-3982.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}