Out-of-bounds Write Affecting opencv/opencv package, versions [,2.4.13.4)[3.0.0-alpha,3.3.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.99% (80th 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-UNMANAGED-OPENCVOPENCV-2369570
  • published26 Jan 2022
  • disclosed7 Aug 2017
  • creditUnknown

Introduced: 7 Aug 2017

CVE-2017-12606  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade opencv/opencv to version 2.4.13.4, 3.3.1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds write error in the function FillColorRow4 in utils.cpp when reading an image file by using cv::imread.

CVSS Base Scores

version 3.1