An out-of-bounds read was discovered in OpenCV before 4.1.1.
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · Low
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | opencv-python (PyPI) | before 4.1.0.25 | 4.1.0.25 | Patch available | GHSA-jggw-2q6g-c3m6 |
| — | opencv-python-headless (PyPI) | before 4.1.0.25 | 4.1.0.25 | Patch available | GHSA-jggw-2q6g-c3m6 |
| — | opencv-contrib-python (PyPI) | before 4.1.0.25 | 4.1.0.25 | Patch available | GHSA-jggw-2q6g-c3m6 |
| — | opencv-contrib-python-headless (PyPI) | before 4.1.0.25 | 4.1.0.25 | Patch available | GHSA-jggw-2q6g-c3m6 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- opencv-python (PyPI) Vendor— Affected before 4.1.0.25 Fixed in 4.1.0.25 Patch available GHSA-jggw-2q6g-c3m6
- opencv-python-headless (PyPI) Vendor— Affected before 4.1.0.25 Fixed in 4.1.0.25 Patch available GHSA-jggw-2q6g-c3m6
- opencv-contrib-python (PyPI) Vendor— Affected before 4.1.0.25 Fixed in 4.1.0.25 Patch available GHSA-jggw-2q6g-c3m6
- opencv-contrib-python-headless (PyPI) Vendor— Affected before 4.1.0.25 Fixed in 4.1.0.25 Patch available GHSA-jggw-2q6g-c3m6
Remediation
- Fix · GHSA-jggw-2q6g-c3m6 opencv-python (PyPI) Fixed in 4.1.0.25 Advisory →
- Fix · GHSA-jggw-2q6g-c3m6 opencv-python-headless (PyPI) Fixed in 4.1.0.25 Advisory →
- Fix · GHSA-jggw-2q6g-c3m6 opencv-contrib-python (PyPI) Fixed in 4.1.0.25 Advisory →
- Fix · GHSA-jggw-2q6g-c3m6 opencv-contrib-python-headless (PyPI) Fixed in 4.1.0.25 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
Not affected: 2 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2019-19624
- 2026-10-03 Alias added: GHSA-jggw-2q6g-c3m6
References
Advisory 2
Sources
- CVE-2019-19624 · CVE Program
- CVE-2019-19624 · NVD
- FIRST EPSS
- GHSA-jggw-2q6g-c3m6 · GitHub Advisory Database · CC BY 4.0
- CVE-2019-19624 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences