CVE-2019-19624
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…
- 6.5MediumCVSS base score
- 1.8%Exploitation in 30 daysEPSS · top 22% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By mitre
Published
- 5 years later
· 5 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L |
- EPSS (exploitation in 30 days)
- 1.8% · top 22% of all CVEs (12 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Affected products
n/a
- affected n/a
Affected packages
Affected packages4
From reviewed advisories of the GitHub Advisory Database.
- PyPIopencv-contrib-pythonGHSA-jggw-2q6g-c3m6 (opens in a new tab)
- PyPIopencv-contrib-python-headlessGHSA-jggw-2q6g-c3m6 (opens in a new tab)
- PyPIopencv-pythonGHSA-jggw-2q6g-c3m6 (opens in a new tab)
- PyPIopencv-python-headlessGHSA-jggw-2q6g-c3m6 (opens in a new tab)
References
References2
- https://github.com/opencv/opencv/issues/14554 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/opencv/opencv/commit/d1615ba11a93062b1429fce9f0f638d1572d3418 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-2217 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-jggw-2q6g-c3m6 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2019-19624)Record last updated .