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.
Published: 2019-12-06
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2021-2217 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.
Github GHSA Github GHSA GHSA-jggw-2q6g-c3m6 Out-of-bounds Read in OpenCV
Ubuntu USN Ubuntu USN USN-7247-1 OpenCV vulnerabilities
History

Sat, 12 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00319}

epss

{'score': 0.0023}


Subscriptions

Opencv Opencv
Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T02:25:12.094Z

Reserved: 2019-12-06T00:00:00.000Z

Link: CVE-2019-19624

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2019-12-06T15:15:10.330

Modified: 2024-11-21T04:35:04.850

Link: CVE-2019-19624

cve-icon Redhat

Severity : Low

Publid Date: 2019-05-14T00:00:00Z

Links: CVE-2019-19624 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses