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
EPSS: 0.017 (75.4th percentile) — read the EPSS interpretation.
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.
Affected products
- Opencv
- Redhat Enterprise_linux — versions 8.0
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC, Issue Tracking)
- cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC)
- nvd@nist.gov (Third Party Advisory)
Frequently asked questions
- What is CVE-2019-19624?
- CVE-2019-19624 is a medium-severity vulnerability in Opencv, classified under Out-of-bounds Read. CVSS score: 6.5/10. Published 2019-12-06.
- How severe is CVE-2019-19624?
- Medium severity. CVSS v3 base score is 6.5 out of 10.