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

  • DEBIAN-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…

    CVE-2017-12598 Debian Updated 1 September 2026
  • DLA-1117-1

    opencv - security update

    CVE-2016-1516CVE-2017-12597CVE-2017-12598CVE-2017-12599 Debian Updated 20 November 2026
  • DLA-1438-1

    opencv - security update

    CVE-2016-1516CVE-2017-1000450CVE-2017-12597CVE-2017-12598 Debian Updated 20 November 2026
  • DLA-2799-1

    opencv - security update

    CVE-2016-1516CVE-2017-1000450CVE-2017-12597CVE-2017-12598 Debian Updated 20 November 2026
  • 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
  • RHVEX-CVE-2017-12598

    opencv: out-of-bounds read error in the cv::RBaseStream::readBlock function

    Low CVE-2017-12598 Red Hat Updated 7 November 2026
  • UBUNTU-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…

    CVE-2017-12598 Ubuntu Updated 22 April 2026

References