VDB

CVE-2019-19624

CVE-2019-19624 PUBLISHED CVSS 6.5 MEDIUM

Out-of-bounds Read in OpenCV

Reported by mitre · Published December 6, 2019

opencv-python-headless is fixed in 4.1.0.25 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
opencv-python-headlessPyPI4.1.0.25
opencv-pythonPyPI4.1.0.25, 4.1.0.24
opencv-contrib-python-headlessPyPI4.1.0.25
opencvUbuntu:Pro:18.04:LTS3.2.0+dfsg-4ubuntu0.1+esm4
opencvopencv4.1.1

Risk scores

CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Affected products

VendorProductVersions
n/an/an/a
PyPIopencv-contrib-python-headless0
PyPIopencv-python-headless0
PyPIopencv-python0
PyPIopencv-contrib-python0
n/an/a*

Timeline

  • Dec 6, 2019 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Nov 8, 2023 CVE Updated
  • Mar 6, 2026 Distribution Patch
  • Mar 6, 2026 Security Advisory (2 in total, the first dated here)
  • Sep 12, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-19624
vulnetix vdb fixes CVE-2019-19624

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-19624/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›