First published: Mon Aug 07 2017(Updated: )
OpenCV (Open Source Computer Vision Library) through 3.3 has an invalid write in the cv::RLByteStream::getBytes function in modules/imgcodecs/src/bitstrm.cpp when reading an image file by using cv::imread, as demonstrated by the 2-opencv-heapoverflow-fseek 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-12603 has been classified as a high-severity vulnerability due to its potential for causing heap overflow.
To mitigate CVE-2017-12603, users should upgrade to OpenCV version 3.4 or later, where the vulnerability is patched.
CVE-2017-12603 affects OpenCV versions up to and including 3.3.0, as well as Debian GNU/Linux versions 8.0 and 9.0.
CVE-2017-12603 is categorized as an invalid write vulnerability that can lead to heap overflow in the OpenCV library.
Yes, CVE-2017-12603 can potentially be exploited remotely when image files are processed by the vulnerable OpenCV functions.