Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Opencv | Opencv | <= 3.3.0 |
| Debian | Debian Linux | 8.0 |
Related Weaknesses (CWE)
References
- https://github.com/opencv/opencv/issues/9309Issue TrackingPatchThird Party Advisory
- https://github.com/xiaoqx/pocs/blob/master/opencv.mdBroken LinkThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/07/msg00030.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/10/msg00028.htmlMailing ListThird Party Advisory
- https://security.gentoo.org/glsa/201712-02Third Party Advisory
- https://github.com/opencv/opencv/issues/9309Issue TrackingPatchThird Party Advisory
- https://github.com/xiaoqx/pocs/blob/master/opencv.mdBroken LinkThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/07/msg00030.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/10/msg00028.htmlMailing ListThird Party Advisory
- https://security.gentoo.org/glsa/201712-02Third Party Advisory
FAQ
What is CVE-2017-12603?
CVE-2017-12603 is a vulnerability with a CVSS score of 8.8 (HIGH). 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::im...
How severe is CVE-2017-12603?
CVE-2017-12603 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2017-12603?
Check the references section above for vendor advisories and patch information. Affected products include: Opencv Opencv, Debian Debian Linux.