### [CVE-2017-12603](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12603) ![](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 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. ### POC #### Reference - https://github.com/opencv/opencv/issues/9309 #### Github - https://github.com/xiaoqx/pocs