First published: Mon Aug 07 2017(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
OpenCV | <=3.3.0 | |
Debian GNU/Linux | =8.0 | |
Debian GNU/Linux | =9.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2017-12601 is classified as a buffer overflow vulnerability, which can lead to potential code execution.
To fix CVE-2017-12601, update OpenCV to version 3.4 or later.
CVE-2017-12601 affects OpenCV versions up to and including 3.3.0 and specific releases of Debian Linux 8.0 and 9.0.
Exploiting CVE-2017-12601 can allow an attacker to execute arbitrary code on the affected system.
Yes, there are documented test cases demonstrating an exploit for CVE-2017-12601.