CVE-2019-19624: opencv Out-of-bounds Read
Vulnerability summary
CVE-2019-19624 is a medium (CVSS 6.5) Out-of-bounds Read vulnerability in opencv. EPSS estimates a 1.76% chance of exploitation in the next 30 days, higher than 77.6% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 06-12-2019PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · PypiEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
EPSS trend
Probability
1.76%
Chance of exploitation in the next 30 days
Percentile
78%
Versus all other CVEs
30-day change
0.00 pp
From 1.76% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundOpencv
Maturity: poc
Weaknesses
CWE · root causeAffected systems
PyPI4 products
- opencv-contrib-python< 4.1.0.25
- opencv-contrib-python-headless< 4.1.0.25
- opencv-python< 4.1.0.25
- opencv-python-headless< 4.1.0.25
Debian1 product
- opencv< 4.1.2+dfsg-3
Opencv1 product
- opencv< 4.1.1
Redhat1 product
Ubuntu1 product
- opencv< 3.2.0+dfsg-4ubuntu0.1+esm4
5 vendors · 8 products
References
15 links- github.com/opencv/opencv/issues/14554X Refsource MISCWEBREPORTExploitIssue TrackingThird Party Advisory
- github.com/opencv/opencv/commit/d1615ba11a93062b1429fce9f0f638d1572d3418X Refsource MISCWEBPatchThird Party Advisory