ADVISORIES

Vulnerability

CVE-2017-12601

OpenCV (Open Source Computer Vision Library) through 3.3 has a buffer overflow in the cv::BmpDecoder::readData function in modules/imgcodecs/src/grfmt_bmp.cpp when reading an image file by using cv::imread, as demonstrated by the 4-buf-overflow-readData-memcpy test case.

9 advisories report this vulnerability, across 4 ecosystems.

Advisories in PyPI

  • GHSA-w96g-3p64-63wr

    Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV

    High CVE-2017-12601 PyPI Updated 10 September 2026
  • PYSEC-2026-2831

    Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV

    CVE-2017-12601 PyPI Updated 13 July 2026
  • PYSEC-2026-716

    Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV

    CVE-2017-12601 PyPI Updated 13 July 2026

References