CVE-2019-19624

Medium

Description

An out-of-bounds read was discovered in OpenCV before 4.1.1. Specifically, variable coarsest_scale is assumed to be greater than or equal to finest_scale within the calc()/ocl_calc() functions in dis_flow.cpp. However, this is not true when dealing with small images, leading to an out-of-bounds read of the heap-allocated arrays Ux and Uy.

SeverityMedium
CVSS6.5
Exploit probability—
ProductOpencv
PublishedDec 6, 2019
First seenDec 6, 2019

How to fix

Update
  • opencv opencv4.1.1 or later
  • opencv-python4.1.0.25 or later
  • opencv-python-headless4.1.0.25 or later
  • opencv-contrib-python4.1.0.25 or later
  • opencv-contrib-python-headless4.1.0.25 or later

Affected products

ProductAffected versionsFixed in
opencv opencvv < 4.1.14.1.1
redhat enterprise_linux8.0—
opencv-pythonPyPIv < 4.1.0.254.1.0.25
opencv-python-headlessPyPIv < 4.1.0.254.1.0.25
opencv-contrib-pythonPyPIv < 4.1.0.254.1.0.25
opencv-contrib-python-headlessPyPIv < 4.1.0.254.1.0.25

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.