CVE-2016-3982Improper Restriction of Operations within the Bounds of a Memory Buffer in Project Optipng

Severity
8.8HIGHNVD
EPSS
2.2%
top 15.53%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedApr 13
Latest updateMay 14

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.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 2.8 | Impact: 5.9

Affected Packages4 packages

Debianoptipng_project/optipng< 0.7.6-1+3
NVDopensuse/leap42.1

Also affects: Debian Linux 7.0, 8.0, Ubuntu Linux 12.04, 14.04, 15.10

Patches

🔴Vulnerability Details

3
GHSA
GHSA-pg66-fmrg-mp86: Off-by-one error in the bmp_rle4_fread function in pngxrbmp2022-05-14
CVEList
CVE-2016-3982: Off-by-one error in the bmp_rle4_fread function in pngxrbmp2016-04-13
OSV
CVE-2016-3982: Off-by-one error in the bmp_rle4_fread function in pngxrbmp2016-04-13

📋Vendor Advisories

3
Ubuntu
OptiPNG vulnerabilities2016-04-18
Red Hat
optipng: heap buffer overflow in the bmp_rle4_fread function2016-04-05
Debian
CVE-2016-3982: optipng - Off-by-one error in the bmp_rle4_fread function in pngxrbmp.c in OptiPNG before ...2016

💬Community

5
Bugzilla
CVE-2016-3981 CVE-2016-3982 optipng: various flaws [fedora-all]2016-04-14
Bugzilla
CVE-2016-3982 optipng: heap buffer overflow in the bmp_rle4_fread function2016-04-14
Bugzilla
CVE-2016-3981 CVE-2016-3982 optipng: various flaws [epel-all]2016-04-14
Bugzilla
CVE-2016-2191 CVE-2016-3981 CVE-2016-3982 optipng: various flaws fixed in 0.7.6 [fedora-all]2016-04-05
Bugzilla
CVE-2016-2191 CVE-2016-3981 CVE-2016-3982 optipng: various flaws fixed in 0.7.6 [epel-all]2016-04-05
CVE-2016-3982 — Optipng Project Optipng vulnerability | cvebase