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.
https://security.gentoo.org/glsa/201712-02
https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html
https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html