ADVISORIES

Vulnerability

CVE-2017-12603

OpenCV (Open Source Computer Vision Library) through 3.3 has an invalid write in the cv::RLByteStream::getBytes function in modules/imgcodecs/src/bitstrm.cpp when reading an image file by using cv::imread, as demonstrated by the 2-opencv-heapoverflow-fseek test case.

9 advisories report this vulnerability, across 4 ecosystems.

Advisories in PyPI

  • GHSA-6v6p-p97v-g2p7

    Out-of-bounds Write in OpenCV

    High CVE-2017-12603 PyPI Updated 10 September 2026
  • PYSEC-2026-2809

    Out-of-bounds Write in OpenCV

    CVE-2017-12603 PyPI Updated 13 July 2026
  • PYSEC-2026-701

    Out-of-bounds Write in OpenCV

    CVE-2017-12603 PyPI Updated 13 July 2026

References