{"cve":"CVE-2017-12598","nvd":{"published":"2017-08-07T01:29:00.420","modified":"2026-06-17T01:03:35.677","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-125"],"references":["https://github.com/opencv/opencv/issues/9309","https://github.com/xiaoqx/pocs/blob/master/opencv.md","https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html","https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html","https://security.gentoo.org/glsa/201712-02"],"products":["debian:debian_linux","opencv:opencv"],"source":"nvd","synced_at":"2026-10-19T20:44:47.710380879+00:00"},"epss":{"cve":"CVE-2017-12598","score":0.01986,"percentile":0.80602,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-33h2-69j3-r336","url":"https://osv.dev/vulnerability/GHSA-33h2-69j3-r336","summary":"Out-of-bounds Read in OpenCV ","modified":"2026-09-10T03:49:09.058322152Z","packages":[{"ecosystem":"PyPI","name":"opencv-python","purl":"pkg:pypi/opencv-python","ranges":["<3.3.1.11"],"fixed":["3.3.1.11"]},{"ecosystem":"PyPI","name":"opencv-contrib-python","purl":"pkg:pypi/opencv-contrib-python","ranges":["<3.3.1.11"],"fixed":["3.3.1.11"]}]},{"id":"PYSEC-2026-2805","url":"https://osv.dev/vulnerability/PYSEC-2026-2805","summary":"Out-of-bounds Read in OpenCV ","modified":"2026-07-13T16:43:35.669043512Z","packages":[{"ecosystem":"PyPI","name":"opencv-python","purl":"pkg:pypi/opencv-python","ranges":["<3.3.1.11"],"fixed":["3.3.1.11"]}]},{"id":"PYSEC-2026-698","url":"https://osv.dev/vulnerability/PYSEC-2026-698","summary":"Out-of-bounds Read in OpenCV ","modified":"2026-07-13T16:43:35.669043512Z","packages":[{"ecosystem":"PyPI","name":"opencv-contrib-python","purl":"pkg:pypi/opencv-contrib-python","ranges":["<3.3.1.11"],"fixed":["3.3.1.11"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}