
CVE catalog
CVE-2016-3982
optipng: CVE-2016-3982
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 3.96% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | optipng | sid | 7.9.1+ds-2 | fixed |
| Debian | optipng | forky | 7.9.1+ds-2 | fixed |
| Debian | optipng | trixie | 0.7.8+ds-1 | fixed |
| Debian | optipng | bookworm | 0.7.7-2 | fixed |
| Ubuntu | optipng | 14.04 | 0.6.4-1build1 | vulnerable |
| Ubuntu | optipng | 14.04 | 0.6.4-1ubuntu0.14.04.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | optipng | source | sid | 0.7.6-1 | not yet assigned | Not reported | Not reported |
| Debian | optipng | source | forky | 0.7.6-1 | not yet assigned | Not reported | Not reported |
| Debian | optipng | source | trixie | 0.7.6-1 | not yet assigned | Not reported | Not reported |
| Debian | optipng | source | bookworm | 0.7.6-1 | not yet assigned | Not reported | Not reported |
| Ubuntu | optipng | deb | 14.04 | 0.6.4-1ubuntu0.14.04.1 | Not reported | UBUNTU-CVE-2016-3982 | Not reported |