~ / search / GHSA-6v6p-p97v-g2p7

GHSA-6v6p-p97v-g2p7

Out-of-bounds Write in OpenCV

Source: GitHub Advisory Database (reviewed) High CVE-2017-12603

Packages

EcosystemPackageAffectedFixed in
PyPI opencv-python < 3.3.1.11 3.3.1.11
PyPI opencv-contrib-python < 3.3.1.11 3.3.1.11

Details

As written in the advisory (Markdown source, shown as plain text).

OpenCV (Open Source Computer Vision Library) through 3.3 (corresponding to OpenCV-Python and OpenCV-Contrib-Python 3.3.0.9) 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.

References

External links from the advisory. They lead to third-party sites.