{"id":"CVE-2017-12598","aliases":["GHSA-33h2-69j3-r336","PYSEC-2026-2805","PYSEC-2026-698"],"url":"https://o3.security/vulnerability/CVE-2017-12598","summary":"Out-of-bounds Read in OpenCV ","details":"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.","published":"2017-08-07T01:29:00.420Z","modified":"2026-07-13T16:43:35.669043512Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"opencv-python","fixedVersion":"3.3.1.11"},{"ecosystem":"PyPI","name":"opencv-contrib-python","fixedVersion":"3.3.1.11"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/xiaoqx/pocs/blob/master/opencv.md"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201712-02"},{"type":"FIX","url":"https://github.com/opencv/opencv/issues/9309"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-13T16:43:35.669043512Z"}}