Buffer overflow in Opencv
CVE-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 when reading an image file by using cv::imread, as demonstrated by the 4-buf-overflow-readData-memcpy test case.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.021, 81.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Opencv
- Debian Linux — versions 8.0, 9.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (xiaoqx/pocs). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- [debian-lts-announce] 20180722 [SECURITY] [DLA 1438-1] opencv security update (mailing-list, Mailing List, Third Party Advisory)
- GLSA-201712-02 (vendor-advisory, Third Party Advisory)
- github.com/xiaoqx/pocs/blob/master/opencv.md (Third Party Advisory, Broken Link)
- github.com/opencv/opencv/issues/9309 (Patch, Third Party Advisory, Issue Tracking)
- [debian-lts-announce] 20211030 [SECURITY] [DLA 2799-1] opencv security update (mailing-list, Mailing List, Third Party Advisory)