OpenCV 3.3.1 has a Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp, because an incorrect size value is used. https://nvd.nist.gov/vuln/detail/CVE-2017-17760