Description
OpenCV (Open Source Computer Vision Library) 3.3 has an out-of-bounds write error in the function FillColorRow1 in utils.cpp when reading an image file by using cv::imread. NOTE: this vulnerability exists because of an incomplete fix for CVE-2017-12597.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | opencv | 3.2.0+dfsg-4ubuntu0.1 | — |
| Ubuntu 16.04 LTS | opencv | 2.4.9.1+dfsg-1.5ubuntu1.1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | opencv-contrib-python | < 3.3.1.11 | 3.3.1.11 | GHSA-634c-v2xv-ffpg |
| PyPI | opencv-python | < 3.3.1.11 | 3.3.1.11 | GHSA-634c-v2xv-ffpg |