CVEfocus › CVE database › CVE-2019-19624

CVE-2019-19624

CVSS 6.5 MediumEPSS 1.8% (higher than 78% of CVEs)Published 2019-12-06Updated 2024-08-05Assigner: mitre

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.

What to do

Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
7Fix pending
12Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04opencvNot affected
vulnerable_code_not_present
Ubuntu 20.04opencvNot affected
vulnerable_code_not_present
Ubuntu 18.04opencvFix pending3.2.0+dfsg-4ubuntu0.1+esm4 (Ubuntu Pro)UBUNTU-CVE-2019-19624
Ubuntu 16.04opencvNot affected
vulnerable_code_not_present
Debian 14opencvFixed4.1.2+dfsg-3DEBIAN-CVE-2019-19624
Debian 13opencvFixed4.1.2+dfsg-3DEBIAN-CVE-2019-19624
Debian 12opencvFixed4.1.2+dfsg-3DEBIAN-CVE-2019-19624
Red Hat Enterprise Linux 8opencvFix pending
Fix deferred
Red Hat Enterprise Linux 8opencv-contribFix pending
Fix deferred
Red Hat Enterprise Linux 8opencv-coreFix pending
Fix deferred
Red Hat Enterprise Linux 8opencv-develFix pending
Fix deferred
Red Hat Enterprise Linux 8opencv-docFix pending
Fix deferred
Red Hat Enterprise Linux 8python3-opencvFix pending
Fix deferred
Red Hat Enterprise Linux 7opencvNot affected
Red Hat Enterprise Linux 7opencv-coreNot affected
Red Hat Enterprise Linux 7opencv-develNot affected
Red Hat Enterprise Linux 7opencv-devel-docsNot affected
Red Hat Enterprise Linux 7opencv-pythonNot affected
Red Hat Enterprise Linux 6opencvNot affected
Red Hat Enterprise Linux 6opencv-develNot affected
Red Hat Enterprise Linux 6opencv-devel-docsNot affected
Red Hat Enterprise Linux 6opencv-pythonNot affected
PyPI libraryopencv-contrib-pythonFixed4.1.0.25GHSA-jggw-2q6g-c3m6
PyPI libraryopencv-contrib-python-headlessFixed4.1.0.25PYSEC-2026-723
PyPI libraryopencv-pythonFixed4.1.0.25GHSA-jggw-2q6g-c3m6
PyPI libraryopencv-python-headlessFixed4.1.0.25PYSEC-2026-2839

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.