CVE-2017-12601
published 2017-08-07CVE-2017-12601: 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…
PriorityP340high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
2.07%
79.4th percentile
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
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | opencv | < opencv 3.2.0+dfsg-6 (bookworm) | opencv 3.2.0+dfsg-6 (bookworm) |
| opencv | opencv | <= 3.3.0 | — |
| opencv | opencv | >= 0 < 3.2.0+dfsg-6 | 3.2.0+dfsg-6 |
| opencv | opencv | >= 0 < 3.2.0+dfsg-6 | 3.2.0+dfsg-6 |
| opencv | opencv | >= 0 < 3.2.0+dfsg-6 | 3.2.0+dfsg-6 |
| opencv | opencv | >= 0 < 3.2.0+dfsg-6 | 3.2.0+dfsg-6 |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8HIGH
vendor_redhat8.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
opencv: buffer overflow in the cv::BmpDecoder::readData function
vendor_redhat·2017-08-05·CVSS 8.8
CVE-2017-12601 [HIGH] CWE-120 opencv: buffer overflow in the cv::BmpDecoder::readData function
opencv: buffer overflow in the cv::BmpDecoder::readData function
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.
Package: opencv (Red Hat Enterprise Linux 6) - Will not fix
Package: opencv (Red Hat Enterprise Linux 7) - Will not fix
Debian
CVE-2017-12601: opencv - OpenCV (Open Source Computer Vision Library) through 3.3 has a buffer overflow i...
vendor_debian·2017·CVSS 8.8
CVE-2017-12601 [HIGH] CVE-2017-12601: opencv - OpenCV (Open Source Computer Vision Library) through 3.3 has a buffer overflow i...
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.
Scope: local
bookworm: resolved (fixed in 3.2.0+dfsg-6)
bullseye: resolved (fixed in 3.2.0+dfsg-6)
forky: resolved (fixed in 3.2.0+dfsg-6)
sid: resolved (fixed in 3.2.0+dfsg-6)
trixie: resolved (fixed in 3.2.0+dfsg-6)
GHSA
Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV
ghsa·2021-10-12
CVE-2017-12601 [HIGH] CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV
Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV
OpenCV (Open Source Computer Vision Library) through 3.3 (corresponding to OpenCV-Python 3.3.0.9) 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.
OSV
Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV
osv·2021-10-12
CVE-2017-12601 [HIGH] Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV
Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV
OpenCV (Open Source Computer Vision Library) through 3.3 (corresponding to OpenCV-Python 3.3.0.9) 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.
OSV
CVE-2017-12601: OpenCV (Open Source Computer Vision Library) through 3
osv·2017-08-07·CVSS 8.8
CVE-2017-12601 [HIGH] CVE-2017-12601: OpenCV (Open Source Computer Vision Library) through 3
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-12601 opencv: buffer overflow in the cv::BmpDecoder::readData function
bugzilla·2017-08-22·CVSS 8.8
CVE-2017-12601 [HIGH] CVE-2017-12601 opencv: buffer overflow in the cv::BmpDecoder::readData function
CVE-2017-12601 opencv: buffer overflow in the cv::BmpDecoder::readData function
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.
Reference:
https://github.com/xiaoqx/pocs/blob/master/opencv.md
Discussion:
Created opencv tracking bugs for this issue:
Affects: fedora-all [bug 1483902]
Bugzilla
CVE-2017-12597 CVE-2017-12598 CVE-2017-12599 CVE-2017-12600 CVE-2017-12601 CVE-2017-12602 CVE-2017-12603 CVE-2017-12604 CVE-2017-12605 CVE-2017-12606 opencv: various flaws [fedora-all]
bugzilla·2017-08-22·CVSS 8.8
CVE-2017-12597 [HIGH] CVE-2017-12597 CVE-2017-12598 CVE-2017-12599 CVE-2017-12600 CVE-2017-12601 CVE-2017-12602 CVE-2017-12603 CVE-2017-12604 CVE-2017-12605 CVE-2017-12606 opencv: various flaws [fedora-all]
CVE-2017-12597 CVE-2017-12598 CVE-2017-12599 CVE-2017-12600 CVE-2017-12601 CVE-2017-12602 CVE-2017-12603 CVE-2017-12604 CVE-2017-12605 CVE-2017-12606 opencv: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixe
https://github.com/opencv/opencv/issues/9309https://github.com/xiaoqx/pocs/blob/master/opencv.mdhttps://lists.debian.org/debian-lts-announce/2018/07/msg00030.htmlhttps://lists.debian.org/debian-lts-announce/2021/10/msg00028.htmlhttps://security.gentoo.org/glsa/201712-02https://github.com/opencv/opencv/issues/9309https://github.com/xiaoqx/pocs/blob/master/opencv.mdhttps://lists.debian.org/debian-lts-announce/2018/07/msg00030.htmlhttps://lists.debian.org/debian-lts-announce/2021/10/msg00028.htmlhttps://security.gentoo.org/glsa/201712-02
2017-08-07
Published