CVE-2016-3982
publishedoptipng: heap buffer overflow in the bmp_rle4_fread function
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | optipng | Advisory build | 0.7.5-1+deb8u1 | DSA-3546-1 |
| Ubuntu | trusty | optipng | Advisory build | 0.6.4-1ubuntu0.14.04.1 | USN-2951-1 |
| Debian | wheezy | optipng | Advisory build | 0.6.4-1+deb7u2 | DSA-3546-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
7- http://bugs.fi/media/afl/optipng/2/
- openSUSE-SU-2016:1078 http://lists.opensuse.org/opensuse-updates/2016-04/msg00061.html
- openSUSE-SU-2016:1082 http://lists.opensuse.org/opensuse-updates/2016-04/msg00065.html
- DSA-3546 http://www.debian.org/security/2016/dsa-3546
- USN-2951-1 http://www.ubuntu.com/usn/USN-2951-1
- GLSA-201608-01 https://security.gentoo.org/glsa/201608-01
- https://sourceforge.net/p/optipng/bugs/57/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5dd9f31b920668e04646acaca6da02276d37be53ac1bb1b18aa128af3724c1ea
- Ingested
- 23 Sep 2026, 07:41:18 UTC
- Source record
- Official CVE record