Out-of-bounds read In opencv-python
Description
Out-of-bounds Read in OpenCV An out-of-bounds read was discovered in OpenCV before 4.1.1 (OpenCV-Python before 4.1.0.25). 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.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
pypi | 4.1.0.25 | ||
pypi | 4.1.0.25 | ||
pypi | 4.1.0.25 | ||
pypi | 4.1.0.25 | ||
debian 12 | 4.1.2+dfsg-3 | ||
debian 13 | 4.1.2+dfsg-3 | ||
debian 14 | 4.1.2+dfsg-3 | ||
rpm rhel8 | - | - |
Aliases
1. 2. 3. 4. 5. 6. 7.
References
1. 2. 3.