ADVISORIES

Vulnerability

CVE-2017-12598

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.

9 advisories report this vulnerability, across 4 ecosystems.

Advisories in PyPI

  • GHSA-33h2-69j3-r336

    Out-of-bounds Read in OpenCV

    High CVE-2017-12598 PyPI Updated 10 September 2026
  • PYSEC-2026-2805

    Out-of-bounds Read in OpenCV

    CVE-2017-12598 PyPI Updated 13 July 2026
  • PYSEC-2026-698

    Out-of-bounds Read in OpenCV

    CVE-2017-12598 PyPI Updated 13 July 2026

References