Out-of-bounds Read Affecting opencv package, versions [,3.4.12)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.53% (67th 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-CONAN-OPENCV-10077857
  • published8 May 2025
  • disclosed1 Aug 2019
  • creditUnknown

Introduced: 1 Aug 2019

CVE-2019-14492  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade opencv to version 3.4.12 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. An issue was discovered in OpenCV before 3.4.7 and 4.x before 4.1.1. There is an out of bounds read/write in the function HaarEvaluator::OptFeature::calc in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.

CVSS Base Scores

version 3.1