Out-of-bounds Write The advisory has been revoked - it doesn't affect any version of package opencv  (opens in a new tab)


Threat Intelligence

EPSS
1.52% (73rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-OPENCV-10077840
  • published8 May 2025
  • disclosed8 Jan 2018
  • creditUnknown

Introduced: 8 Jan 2018

CVE-2018-5268  (opens in a new tab)
CWE-787  (opens in a new tab)

Amendment

This was deemed not a vulnerability.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. 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.

References