### [CVE-2017-12598](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12598) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description 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. ### POC #### Reference - https://github.com/opencv/opencv/issues/9309 #### Github - https://github.com/xiaoqx/pocs