CVE-2016-3982: Off-by-one error in the bmp_rle4_fread function in pngxrbmp.c in OptiPNG before 0.7.6 allows remote attackers
CVE-2016-3982 is a high-severity flaw (CVSS 8.8) affecting leap, opensuse, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- EPSS top 10%: very likely to be exploited
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 4.0% (top 10%) |
| CISA exploited list | No |
| Weakness | CWE-119 |
| Published | 2016-04-13 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2016-3982?
leap: mitigate or apply the listed mitigation; opensuse: mitigate or apply the listed mitigation; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2016-3982 being exploited?
CVE-2016-3982 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2016-3982 affect?
CVE-2016-3982 affects leap, opensuse, debian linux. Severity is high (CVSS 8.8). 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
How urgent is CVE-2016-3982?
Priority 58/100. High severity; EPSS top 10%: very likely to be exploited; On your watchlist
Software pages
Ubuntu vulnerabilities · Debian vulnerabilities
Related CVEs
- CVE-2018-19542 MEDIUM 6.5 DOWNGRADE MITIGATE An issue was discovered in JasPer 2.0.14
- CVE-2018-19539 MEDIUM 6.5 DOWNGRADE MITIGATE An issue was discovered in JasPer 2.0.14
- CVE-2016-10165 HIGH 7.1 UPGRADE MITIGATE The Type_MLU_Read function in cmstypes.c in Little CMS (aka lcms2) allows remote attackers to obtain sensitive
- CVE-2015-8126 HIGH 7.5 UPGRADE MITIGATE Multiple buffer overflows in the (1) png_set_PLTE and (2) png_get_PLTE functions in libpng before 1.0.64, 1.1.
- CVE-2015-7575 MEDIUM 5.9 UPGRADE MITIGATE Mozilla Network Security Services (NSS) before 3.20.2, as used in Mozilla Firefox before 43.0.2 and Firefox ES