CVE-2019-19624
Out-of-bounds Read in OpenCV
6.5
MEDIUM
CVSS 3.1
EPSS 0.06%
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.
How to fix CVE-2019-19624
To remediate CVE-2019-19624, upgrade the affected package to a fixed version below.
- —upgrade to 4.1.2+dfsg-3 or later
- —upgrade to 4.1.0.25 or later
- —upgrade to 4.1.0.25 or later
- —upgrade to 4.1.0.25 or later
- —upgrade to 4.1.0.25 or later
Is CVE-2019-19624 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- from 0, < 4.1.2+dfsg-3
- from 0, < 4.1.0.25
- from 0, < 4.1.0.25
- from 0, < 4.1.0.25
- from 0, < 4.1.0.25
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L |