High severity8.8NVD Advisory· Published Aug 7, 2017· Updated Jun 17, 2026
CVE-2017-12598
CVE-2017-12598
Description
OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds read error in the cv::RBaseStream::readBlock function in modules/imgcodecs/src/bitstrm.cpp when reading an image file by using cv::imread, as demonstrated by the 8-opencv-invalid-read-fread test case.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
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
5- ghsa-coords2 versions
< 3.3.1.11+ 1 more
- (no CPE)range: < 3.3.1.11
- (no CPE)range: < 3.3.1.11
Patches
Vulnerability mechanics
References
10- github.com/opencv/opencv/issues/9309nvdIssue TrackingPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-33h2-69j3-r336ghsaADVISORY
- 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-12598ghsaADVISORY
- security.gentoo.org/glsa/201712-02nvdThird Party AdvisoryWEB
- github.com/opencv/opencv-python/releases/tag/11ghsaWEB
- github.com/opencv/opencv-python/releases/tag/9ghsaWEB
- github.com/opencv/opencv/pull/9376ghsaWEB
News mentions
0No linked articles in our index yet.