Name | CVE-2019-19624 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
opencv (PTS) | bullseye | 4.5.1+dfsg-5 | fixed |
| bookworm | 4.6.0+dfsg-12 | fixed |
| sid, trixie | 4.6.0+dfsg-14 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
opencv | source | jessie | (not affected) | | | |
opencv | source | stretch | (not affected) | | | |
opencv | source | (unstable) | 4.1.2+dfsg-3 | | | |
Notes
[buster] - opencv <no-dsa> (Minor issue; can be fixed via point release)
[stretch] - opencv <not-affected> (Vulnerable code introduced later)
[jessie] - opencv <not-affected> (Vulnerable code introduced later)
https://github.com/opencv/opencv/commit/d1615ba11a93062b1429fce9f0f638d1572d3418
https://github.com/opencv/opencv/issues/14554