CVE-2016-3982

high
Published 2016-04-13 · Modified 2026-05-06
CVSS v3
8.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v2
6.8
VIR risk
8.8

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.

Predictions

Exploit likelihood
92%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2016-3982

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://sourceforge.net/p/optipng/bugs/57/

OS impact

OSVersionStatusFixed in
suse suse42.1affected
suse suse13.2affected
ubuntu ubuntu12.04affected
ubuntu ubuntu14.04affected
ubuntu ubuntu15.10affected
debian debian7.0affected
debian debian8.0affected
debian debianbookwormfixed0.7.6-1
debian debianbullseyefixed0.7.6-1
debian debianforkyfixed0.7.6-1
debian debiansidfixed0.7.6-1
debian debiantrixiefixed0.7.6-1

Application impact

VendorProductVersionsFixed
optipng_projectoptipng{"endIncluding":"0.7.5"}

References

CWEs

CWE-119

Verify integrity in audit chain (admin only). AS-IS.