optipng: heap buffer overflow in the bmp_read_rows function
Published Apr 13, 2016
7.8
HIGHCVSS 3.0
EPSS 4.43%
Description
Heap-based buffer overflow in the bmp_read_rows 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.
Affected products
No data.
Configuration 1
- ≤ 0.7.5
Configuration 2
- 12.04
- 14.04
- 15.10
- 7.0
- 8.0
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:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:C/I:C/A:C
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 (18 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.43% (0.04426) | 91.06th | v5 (v2026.06.15) |
| Sep 22, 2026 | 4.43% (0.04426) | 90.93th | v5 (v2026.06.15) |
| Sep 21, 2026 | 7.69% (0.07687) | 94.41th | v5 (v2026.06.15) |
| Sep 6, 2026 | 4.43% (0.04426) | 90.72th | v5 (v2026.06.15) |
| Sep 5, 2026 | 7.69% (0.07687) | 94.29th | v5 (v2026.06.15) |
| Aug 30, 2026 | 4.43% (0.04426) | 90.67th | v5 (v2026.06.15) |
| Aug 28, 2026 | 7.69% (0.07687) | 94.25th | v5 (v2026.06.15) |
| Aug 24, 2026 | 4.43% (0.04426) | 90.62th | v5 (v2026.06.15) |
| Aug 23, 2026 | 7.69% (0.07687) | 94.23th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.43% (0.04426) | 90.09th | v5 (v2026.06.15) |
| Mar 17, 2025 | 1.59% (0.01592) | 80.39th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.93% (0.00931) | 83.69th | v3 (v2023.03.01) |
| Nov 30, 2023 | 0.93% (0.00931) | 81.23th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.86% (0.00858) | 79.74th | 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/1/ x_refsource_MISCExploit
- http://lists.opensuse.org/opensuse-updates/2016-04/msg00061.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-updates/2016-04/msg00065.html vendor-advisoryx_refsource_SUSEMailing ListThird 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-3981 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1327213 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2016-3981
- https://security.gentoo.org/glsa/201608-01 vendor-advisoryx_refsource_GENTOO
- https://sourceforge.net/p/optipng/bugs/56/ x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2016-3981
| Link | Providers | Tags |
|---|---|---|
| http://bugs.fi/media/afl/optipng/1/ | x_refsource_MISCExploit | |
| http://lists.opensuse.org/opensuse-updates/2016-04/msg00061.html | vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory | |
| http://lists.opensuse.org/opensuse-updates/2016-04/msg00065.html | vendor-advisoryx_refsource_SUSEMailing ListThird 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-3981 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1327213 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2016-3981 | ||
| https://security.gentoo.org/glsa/201608-01 | vendor-advisoryx_refsource_GENTOO | |
| https://sourceforge.net/p/optipng/bugs/56/ | x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2016-3981 |
Change history (0)
No recorded changes yet.