CVE-2017-12598Published Aug 7, 2017 · Aug 7Updated Oct 24
Out-of-bounds Read 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 out-of-bounds read error in the cv::RBaseStream::readBlock function in modules/imgcodecs/src/bitstrm.cpp when reading an image file by using cv::imread, as demonstrated by the 8-opencv-invalid-read-fread test case.
From the CVE record · mitre
OpenCV through 3.3 has an out-of-bounds read in cv::RBaseStream::readBlock when cv::imread reads an image file. The issue can be triggered when an application reads an affected image file; the input does not specify network access or authentication requirements.
Check applications using OpenCV through 3.3 or the PyPI packages opencv-python and opencv-contrib-python below 3.3.1.11.