Out-of-Bounds Read Vulnerability in OpenCV Library
CVE-2019-19624
6.5MEDIUM
What is CVE-2019-19624?
An out-of-bounds read vulnerability has been identified in OpenCV versions prior to 4.1.1 that affects the calc() and ocl_calc() functions in dis_flow.cpp. The vulnerability arises from an incorrect assumption in the code regarding the relationship between the variables 'coarsest_scale' and 'finest_scale'. This flaw can be exploited when processing small images, potentially leading to an out-of-bounds read of heap-allocated arrays 'Ux' and 'Uy'. Such unintended memory access can compromise application stability and security.
