Debian Security Tracker
DEBIAN-CVE-2019-19624
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Debian:12 | opencv | All versions before 4.1.2+dfsg-3 (fixed in 4.1.2+dfsg-3) |
| Debian:13 | opencv | All versions before 4.1.2+dfsg-3 (fixed in 4.1.2+dfsg-3) |
| Debian:14 | opencv | All versions before 4.1.2+dfsg-3 (fixed in 4.1.2+dfsg-3) |