High severity8.8NVD Advisory· Published Aug 7, 2017· Updated May 13, 2026
CVE-2017-12603
CVE-2017-12603
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
opencv-pythonPyPI | < 3.3.1.11 | 3.3.1.11 |
opencv-contrib-pythonPyPI | < 3.3.1.11 | 3.3.1.11 |
Affected products
3cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
8- github.com/opencv/opencv/issues/9309nvdIssue TrackingPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-6v6p-p97v-g2p7ghsaADVISORY
- github.com/xiaoqx/pocs/blob/master/opencv.mdnvdBroken LinkThird Party AdvisoryWEB
- lists.debian.org/debian-lts-announce/2018/07/msg00030.htmlnvdMailing ListThird Party AdvisoryWEB
- lists.debian.org/debian-lts-announce/2021/10/msg00028.htmlnvdMailing ListThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2017-12603ghsaADVISORY
- security.gentoo.org/glsa/201712-02nvdThird Party AdvisoryWEB
- github.com/opencv/opencv/pull/9376ghsaWEB
News mentions
0No linked articles in our index yet.