Out-of-bounds Read in Opencv
CVE-2019-19624
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L.
EPSS exploit prediction
EPSS 0.018, 78.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Opencv
- Red Hat Enterprise Linux — versions 8.0
Weakness classification (CWE)
References
- github.com/opencv/opencv/issues/14554 (Exploit, Third Party Advisory, Issue Tracking)
- github.com/opencv/opencv/commit/d1615ba11a93062b1429fce9f0f638d1572d3418 (Patch, Third Party Advisory)
- access.redhat.com/security/cve/cve-2019-19624 (Third Party Advisory)