CVE-2016-3982
optipng: heap buffer overflow in the bmp_rle4_fread function
Severity
ModerateRed Hat Product Security
CVSS 2.0
Review impact separately from score.
Published · April 5, 2016
Updated · November 21, 2025
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.
Statement
Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 2.0 · 4.4AV:L/AC:M/Au:N/C:P/I:P/A:P
CWE-193 · Off-by-one Error