opencv: buffer overflow in the cv::BmpDecoder::readData function
Published Aug 7, 2017
8.8
HIGHCVSS 3.1
EPSS 2.09%
Description
OpenCV (Open Source Computer Vision Library) through 3.3 has a buffer overflow in the cv::BmpDecoder::readData function in modules/imgcodecs/src/grfmt_bmp.cpp when reading an image file by using cv::imread, as demonstrated by the 4-buf-overflow-readData-memcpy test case.
Affected products
No data.
Configuration 2
- 8.0
- 9.0
No data.
Red Hat Enterprise Linux 6
opencv
Will not fix
Red Hat Enterprise Linux 7
opencv
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | opencv | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | opencv | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:H/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 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 2.09% (0.02088) | 80.93th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.07% (0.02071) | 78.89th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.29% (0.00291) | 69.38th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.29% (0.00291) | 68.19th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.29% (0.00291) | 65.15th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.49% (0.00487) | 72.31th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.02% (0.01018) | 19.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.25% (0.01247) | 30.57th | v5 (v2026.06.15) |
| Oct 31, 2021 | 1.25% (0.01247) | 69.17th | v1 |
| Sep 1, 2021 | 1.04% (0.01040) | 64.49th | v1 |
| Apr 14, 2021 | 1.04% (0.01040) | 0.00th | v1 |
References (13)
- https://access.redhat.com/security/cve/CVE-2017-12601 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1483896 Issue Tracking
- https://github.com/advisories/GHSA-w96g-3p64-63wr Advisory
- https://github.com/opencv/opencv-python/releases/tag/11
- https://github.com/opencv/opencv-python/releases/tag/9
- https://github.com/opencv/opencv/issues/9309 x_refsource_MISCIssue TrackingPatchThird Party Advisory
- https://github.com/opencv/opencv/pull/9376
- https://github.com/xiaoqx/pocs/blob/master/opencv.md x_refsource_MISCBroken LinkThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-12601
- https://security.gentoo.org/glsa/201712-02 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2017-12601
Change history (0)
No recorded changes yet.