CVE-2017-12603Published Aug 7, 2017 · Aug 7Updated Oct 24
Out-of-bounds Write in OpenCV
High8.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| opencv-python PyPI |
|
|
| opencv-contrib-python PyPI |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| opencv-python PyPI |
|
|
| opencv-contrib-python PyPI |
|
|
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.
From the CVE record · mitre
OpenCV through 3.3 has an invalid write in cv::RLByteStream::getBytes when cv::imread reads an image file. An attacker can trigger the invalid write if an affected application reads a crafted image file; the input does not specify authentication or network access requirements.
Check applications using PyPI opencv-python or opencv-contrib-python versions earlier than 3.3.1.11.