{"id":"CVE-2016-3982","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"Off-by-one error in the bmp_rle4_fread function in pngxrbmp.c in OptiPNG before 0.7.6 allows remote attackers to cause…","description":"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.","ai_summary":null,"severity":"high","cvss":{"score":8.8,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD"},"scores":[{"score":8.8,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"nvd"},{"score":6.8,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","source":"nvd"}],"cwe":["CWE-119"],"remote":true,"remote_unauth":true,"epss":{"score":0.03988,"percentile":0.90761,"date":"2026-12-01"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"http://lists.opensuse.org/opensuse-updates/2016-04/msg00065.html","kind":"vendor"},{"url":"http://www.debian.org/security/2016/dsa-3546","kind":"vendor"},{"url":"http://www.ubuntu.com/usn/USN-2951-1","kind":"vendor"},{"url":"http://lists.opensuse.org/opensuse-updates/2016-04/msg00061.html","kind":"vendor"},{"url":"https://security.gentoo.org/glsa/201608-01","kind":"vendor"},{"url":"https://sourceforge.net/p/optipng/bugs/57/","kind":"patch"},{"url":"http://bugs.fi/media/afl/optipng/2/","kind":"other"}],"workarounds":null,"vendors":["canonical","debian","opensuse","optipng_project"],"products":["debian_linux","leap","opensuse","optipng","ubuntu_linux"],"cpes":["cpe:2.3:a:optipng_project:optipng:*:*:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*","cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*"],"published_at":"2016-04-13T16:00:00.000Z","modified_at":"2026-06-17T00:46:40.727Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-3982"}],"links":{"html":"https://flawdb.com/CVE-2016-3982","markdown":"https://flawdb.com/CVE-2016-3982.md","json":"https://flawdb.com/api/v1/entries/CVE-2016-3982"}}