Vulnerability Details : 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.
Exploit prediction scoring system (EPSS) score for CVE-2019-19624
Probability of exploitation activity in the next 30 days: 0.12%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 45 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2019-19624
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
6.4
|
MEDIUM | AV:N/AC:L/Au:N/C:P/I:N/A:P |
10.0
|
4.9
|
NIST |
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L |
3.9
|
2.5
|
NIST |
CWE ids for CVE-2019-19624
-
The product reads data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2019-19624
-
https://github.com/opencv/opencv/commit/d1615ba11a93062b1429fce9f0f638d1572d3418
video:fixed DISOpticalFlow segfault from small img · opencv/opencv@d1615ba · GitHubPatch;Third Party Advisory
-
https://github.com/opencv/opencv/issues/14554
DISOpticalFlow: segfault for small images · Issue #14554 · opencv/opencv · GitHubExploit;Issue Tracking;Third Party Advisory
-
https://access.redhat.com/security/cve/cve-2019-19624
Red Hat Customer PortalThird Party Advisory
Products affected by CVE-2019-19624
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:a:opencv:opencv:*:*:*:*:*:*:*:*