GHSA-6v6p-p97v-g2p7HighCVSS 8.8

Out-of-bounds Write in OpenCV

Published
October 12, 2021
Last Modified
February 1, 2023

🔗 CVE IDs covered (1)

📋 Description

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.

🎯 Affected products2

  • pip/opencv-python:<= 3.3.0.9
  • pip/opencv-contrib-python:<= 3.3.0.9

🔗 References (8)