CVE-2019-19624 json
Out-of-bounds Read in OpenCV
published 2019-12-06 6 y ago modified 2026-09-10 1 mo ago also GHSA-jggw-2q6g-c3m6 , PYSEC-2026-2800 , PYSEC-2026-2824 , PYSEC-2026-2839 , PYSEC-2026-723 , EUVD-2021-2217
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi opencv-python 4.1.0.25
- pypi opencv-python-headless 4.1.0.25
- pypi opencv-contrib-python 4.1.0.25
- pypi opencv-contrib-python-headless 4.1.0.25
- opencv opencv 4.1.1
- opencv Debian 14, Debian 13, Debian 12 4.1.2+dfsg-3
debian advisories DEBIAN-CVE-2019-19624
- opencv Ubuntu Pro 18.04 LTS 3.2.0+dfsg-4ubuntu0.1+esm4
ubuntu advisories UBUNTU-CVE-2019-19624
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-19624 updated cvss 5.3
opencv: out-of-bounds read in DIS optflow algorithm when dealing with small images
-
Red Hat Enterprise Linux 8 opencv, opencv-core, opencv-contrib, python3-opencvaffected: no fix available “Fix deferred”
-
Red Hat Enterprise Linux 6 opencv, opencv-python Red Hat Enterprise Linux 7 opencv, opencv-core, opencv-pythonnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.76% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/opencv/opencv/issues/14554 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L |
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:P/I:N/A:P |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | opencv-python | <4.1.0.25 |
4.1.0.25 |
| pypi | opencv-python-headless | <4.1.0.25 |
4.1.0.25 |
| pypi | opencv-contrib-python | <4.1.0.25 |
4.1.0.25 |
| pypi | opencv-contrib-python-headless | <4.1.0.25 |
4.1.0.25 |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/opencv/opencv/commit/d1615ba11a93062b1429fce9f0f638d1572d3418
web, patch, third-party-advisory
-
github.com
/opencv/opencv/issues/14554
web, exploit, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-19624
advisory
-
access.redhat.com
/security/cve/cve-2019-19624
web, third-party-advisory
-
github.com
/opencv/opencv-python
package
-
github.com
/opencv/opencv-python/releases/tag/25
web
-
pypi.org
/project/opencv-contrib-python
package
-
github.com
/advisories/GHSA-jggw-2q6g-c3m6
advisory
-
pypi.org
/project/opencv-contrib-python-headless
package
-
pypi.org
/project/opencv-python-headless
package
-
pypi.org
/project/opencv-python
package
Sources
- CVE List CVE-2019-19624
- GitHub Advisory GHSA-jggw-2q6g-c3m6
- NVD CVE-2019-19624
- OSV PYSEC-2026-2800
- OSV PYSEC-2026-723
- OSV PYSEC-2026-2839
- OSV PYSEC-2026-2824
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.