{"id":"CVE-2017-12598","published":"2017-08-07T01:00:00Z","modified":"2024-08-05T18:43:56Z","title":"OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds read error in the…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01986,"percentile":0.81097,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://security.gentoo.org/glsa/201712-02","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://github.com/xiaoqx/pocs/blob/master/opencv.md","tags":["x_refsource_MISC"]},{"url":"https://github.com/opencv/opencv/issues/9309","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":21.2,"factors":[{"name":"EPSS percentile","points":16.22},{"name":"Public exploit code","points":5.0}]},"affected":[{"ecosystem":"PyPI","package":"opencv-python","vulnerableRanges":["<3.3.1.11"],"patched":["3.3.1.11"],"from":["GHSA-33h2-69j3-r336","PYSEC-2026-2805"],"provenance":"source"},{"ecosystem":"PyPI","package":"opencv-contrib-python","vulnerableRanges":["<3.3.1.11"],"patched":["3.3.1.11"],"from":["GHSA-33h2-69j3-r336","PYSEC-2026-698"],"provenance":"source"}],"summary":{"text":"The flaw is an out-of-bounds read in the cv::RBaseStream::readBlock function, located in modules/imgcodecs/src/bitstrm.cpp within OpenCV (Open Source Computer Vision Library) through version 3.3.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:56Z"},"euvd":{"id":"EUVD-2021-2143","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/xiaoqx/pocs/blob/master/opencv.md"]}