Out-of-Bounds Affecting opencv/opencv package, versions [0,3.4.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
1.17% (85th 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 IDSNYK-UNMANAGED-OPENCVOPENCV-2369595
  • published26 Jan 2022
  • disclosed29 Dec 2017
  • creditUnknown

Introduced: 29 Dec 2017

CVE-2017-17760  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade opencv/opencv to version 3.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. OpenCV 3.3.1 has a Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp, because an incorrect size value is used.

CVSS Scores

version 3.1