Lucene search

K
osvGoogleOSV:GHSA-6V6P-P97V-G2P7
HistoryOct 12, 2021 - 10:01 p.m.

Out-of-bounds Write in OpenCV

2021-10-1222:01:44
Google
osv.dev
17
opencv
vulnerability
image file reading
3.3
invalid write

EPSS

0.003

Percentile

70.4%

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.