CVE-2019-19624
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| opencv-python-headless | PyPI | 4.1.0.25 |
| opencv-python | PyPI | 4.1.0.25, 4.1.0.24 |
| opencv-contrib-python-headless | PyPI | 4.1.0.25 |
| opencv | Ubuntu:Pro:18.04:LTS | 3.2.0+dfsg-4ubuntu0.1+esm4 |
| opencv | opencv | 4.1.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| PyPI | opencv-contrib-python-headless | 0 |
| PyPI | opencv-python-headless | 0 |
| PyPI | opencv-python | 0 |
| PyPI | opencv-contrib-python | 0 |
| n/a | n/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
References
- x_refsource_MISC
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2019-19624 advisory
- https://access.redhat.com/security/cve/cve-2019-19624 url
- https://github.com/opencv/opencv-python/releases/tag/25 url
- https://github.com/advisories/GHSA-jggw-2q6g-c3m6 advisory