ADVISORIES

Vulnerability

CVE-2018-5268

In OpenCV 3.3.1, a heap-based buffer overflow happens in cv::Jpeg2KDecoder::readComponent8u in modules/imgcodecs/src/grfmt_jpeg2000.cpp when parsing a crafted image file.

9 advisories report this vulnerability, across 4 ecosystems.

Medium severity All Debian 4PyPI 3Red Hat 1Ubuntu 1

Advisories

  • DEBIAN-CVE-2018-5268

    In OpenCV 3.3.1, a heap-based buffer overflow happens in cv::Jpeg2KDecoder::readComponent8u in modules/imgcodecs/src/grfmt_jpeg2000.cpp when parsing a crafted image file.

    CVE-2018-5268 Debian Updated 23 October 2026
  • DLA-1354-1

    opencv - security update

    CVE-2018-5268CVE-2018-5269 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-9g8h-pjm4-q92p

    Out-of-bounds Write in OpenCV.

    Moderate CVE-2018-5268 PyPI Updated 10 September 2026
  • PYSEC-2026-2814

    Out-of-bounds Write in OpenCV.

    CVE-2018-5268 PyPI Updated 13 July 2026
  • PYSEC-2026-705

    Out-of-bounds Write in OpenCV.

    CVE-2018-5268 PyPI Updated 13 July 2026
  • RHVEX-CVE-2018-5268

    opencv: Heap-based buffer overflow in cv::Jpeg2KDecoder::readComponent8u

    Low CVE-2018-5268 Red Hat Updated 6 November 2026
  • UBUNTU-CVE-2018-5268

    In OpenCV 3.3.1, a heap-based buffer overflow happens in cv::Jpeg2KDecoder::readComponent8u in modules/imgcodecs/src/grfmt_jpeg2000.cpp when parsing a crafted image file.

    CVE-2018-5268 Ubuntu Updated 22 April 2026

References