GHSA-w96g-3p64-63wrHighCVSS 8.8

Improper Restriction of Operations within the Bounds of a Memory Buffer 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 3.3.0.9) has a buffer overflow in the cv::BmpDecoder::readData function in modules/imgcodecs/src/grfmt_bmp.cpp when reading an image file by using cv::imread, as demonstrated by the 4-buf-overflow-readData-memcpy test case.

🎯 Affected products2

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

🔗 References (10)