ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2017-12603

Details

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:16.04:LTSopencv
All versions before 2.4.9.1+dfsg-1.5ubuntu1.1 (fixed in 2.4.9.1+dfsg-1.5ubuntu1.1)
Ubuntu:18.04:LTSopencv
All versions before 3.2.0+dfsg-4ubuntu0.1 (fixed in 3.2.0+dfsg-4ubuntu0.1)

References