Ubuntu CVE Tracker
UBUNTU-CVE-2017-12601
Details
OpenCV (Open Source Computer Vision Library) through 3.3 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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:16.04:LTS | opencv | All versions before 2.4.9.1+dfsg-1.5ubuntu1.1 (fixed in 2.4.9.1+dfsg-1.5ubuntu1.1) |
| Ubuntu:18.04:LTS | opencv | All versions before 3.2.0+dfsg-4ubuntu0.1 (fixed in 3.2.0+dfsg-4ubuntu0.1) |