CVE-2016-3982 json
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…
published 2016-04-13 10 y ago modified 2026-06-17 4 mo ago also EUVD-2016-4991
- cvss
- 8.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.0%
- EPSS 4.0% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- optipng Debian 14, Debian 13, Debian 12 0.7.6-1
debian advisories DEBIAN-CVE-2016-3982
- optipng Ubuntu 14.04 LTS 0.6.4-1ubuntu0.14.04.1
ubuntu advisories UBUNTU-CVE-2016-3982
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- sourceforge.net/p/optipng/bugs/57/ advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-3982 updated cvss 4.4
optipng: heap buffer overflow in the bmp_rle4_fread function
-
Red Hat Enterprise Linux 7 optipngaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.96% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
sourceforge.net
/p/optipng/bugs/57/
patch, vendor-advisory
-
lists.opensuse.org
/opensuse-updates/2016-04/msg00065.html
vendor-advisory, third-party-advisory
-
debian.org
/security/2016/dsa-3546
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/USN-2951-1
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2016-04/msg00061.html
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/201608-01
vendor-advisory
-
bugs.fi
/media/afl/optipng/2/
issue-tracking
Sources
- CVE List CVE-2016-3982
- NVD CVE-2016-3982
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.