Vulnerability record · CVE-2019-19624 · published 6 December 2019
CVE-2019-19624: Opencv out-of-bounds read vulnerability
Opencv · Opencv
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.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/opencv/opencv/commit/d1615ba11a93062b1429fce9f0f638d1572d3418 | PatchThird Party Advisory |
| https://github.com/opencv/opencv/issues/14554 | ExploitIssue TrackingThird Party Advisory |
| https://access.redhat.com/security/cve/cve-2019-19624 | Third Party Advisory |
| https://github.com/opencv/opencv/commit/d1615ba11a93062b1429fce9f0f638d1572d3418 | PatchThird Party Advisory |
| https://github.com/opencv/opencv/issues/14554 | ExploitIssue TrackingThird Party Advisory |
Track CVE-2019-19624 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2019-19624), CISA KEV, FIRST EPSS (scores of 2026-09-30). This page is refreshed as NVD updates the record.