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.
References (3)
Core 3
Core References
Exploit, Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/opencv/opencv/issues/14554
Patch, Third Party Advisory x_refsource_misc
https://github.com/opencv/opencv/commit/d1615ba11a93062b1429fce9f0f638d1572d3418
Third Party Advisory
https://access.redhat.com/security/cve/cve-2019-19624
Scores
CVSS v3
6.5
EPSS
0.0006
EPSS Percentile
19.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Details
CWE
CWE-125
Status
published
Products (6)
opencv/opencv
< 4.1.1
pypi/opencv-contrib-python
0 - 4.1.0.25PyPI
pypi/opencv-contrib-python-headless
0 - 4.1.0.25PyPI
pypi/opencv-python
0 - 4.1.0.25PyPI
pypi/opencv-python-headless
0 - 4.1.0.25PyPI
redhat/enterprise_linux
8.0
Published
Dec 06, 2019
Tracked Since
Feb 18, 2026