OpenCV (Open Source Computer Vision Library) through 3.3 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.
The product writes data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html | third party advisory mailing list |
https://security.gentoo.org/glsa/201712-02 | third party advisory vendor advisory |
https://github.com/xiaoqx/pocs/blob/master/opencv.md | third party advisory broken link |
https://github.com/opencv/opencv/issues/9309 | issue tracking third party advisory patch |
https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html | third party advisory mailing list |