CVE-2019-19624

opencv: out-of-bounds read in DIS optflow algorithm when dealing with small images

Published Dec 6, 2019 CVSS 3.1 · 6.5 Medium EPSS 1.8% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

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
Type Values Removed Values Added
Metrics epss

{'score': 0.00319}

epss

{'score': 0.0023}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 2:25 AM
Reserved
Dec 6, 2019, 12:00 AM
Status
Modified
Published
Dec 6, 2019, 3:15 PM
Modified
Jun 17, 2026, 2:26 AM
Severity
Low
Public date
May 14, 2019, 12:00 AM