optipng: heap buffer overflow in the bmp_rle4_fread function
Published Apr 13, 2016
8.8
HIGHCVSS 3.0
EPSS 3.97%
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.
Affected products
No data.
Configuration 2
- 7.0
- 8.0
Configuration 3
- ≤ 0.7.5
Configuration 4
- 12.04
- 14.04
- 15.10
No data.
Red Hat Enterprise Linux 7
optipng
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | optipng | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat 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/.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.97% (0.03974) | 90.16th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.97% (0.03974) | 89.10th | v5 (v2026.06.15) |
| Jul 12, 2025 | 2.51% (0.02509) | 84.73th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.90% (0.00898) | 74.01th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.75% (0.01751) | 88.45th | v3 (v2023.03.01) |
| May 13, 2024 | 1.75% (0.01751) | 87.87th | v3 (v2023.03.01) |
| Nov 30, 2023 | 1.71% (0.01712) | 86.41th | v3 (v2023.03.01) |
| Jul 15, 2023 | 1.58% (0.01578) | 85.56th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.37% (0.01374) | 84.20th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.40% (0.04397) | 88.13th | v2 (v2022.01.01) |
| Apr 1, 2022 | 4.40% (0.04397) | 86.94th | v2 (v2022.01.01) |
| Feb 22, 2022 | 4.40% (0.04397) | 71.04th | v2 (v2022.01.01) |
| Feb 4, 2022 | 3.90% (0.03899) | 67.44th | v2 (v2022.01.01) |
References (11)
- http://bugs.fi/media/afl/optipng/2/ x_refsource_MISCIssue Tracking
- http://lists.opensuse.org/opensuse-updates/2016-04/msg00061.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- http://lists.opensuse.org/opensuse-updates/2016-04/msg00065.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- http://www.debian.org/security/2016/dsa-3546 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.ubuntu.com/usn/USN-2951-1 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2016-3982 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1327215 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2016-3982
- https://security.gentoo.org/glsa/201608-01 vendor-advisoryx_refsource_GENTOO
- https://sourceforge.net/p/optipng/bugs/57/ x_refsource_CONFIRMPatchVendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2016-3982
| Link | Providers | Tags |
|---|---|---|
| http://bugs.fi/media/afl/optipng/2/ | x_refsource_MISCIssue Tracking | |
| http://lists.opensuse.org/opensuse-updates/2016-04/msg00061.html | vendor-advisoryx_refsource_SUSEThird Party Advisory | |
| http://lists.opensuse.org/opensuse-updates/2016-04/msg00065.html | vendor-advisoryx_refsource_SUSEThird Party Advisory | |
| http://www.debian.org/security/2016/dsa-3546 | vendor-advisoryx_refsource_DEBIANThird Party Advisory | |
| http://www.ubuntu.com/usn/USN-2951-1 | vendor-advisoryx_refsource_UBUNTUThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2016-3982 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1327215 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2016-3982 | ||
| https://security.gentoo.org/glsa/201608-01 | vendor-advisoryx_refsource_GENTOO | |
| https://sourceforge.net/p/optipng/bugs/57/ | x_refsource_CONFIRMPatchVendor Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2016-3982 |
Change history (0)
No recorded changes yet.