# CVE-2019-19624

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2019-12-06 · Modified: 2024-08-05
- Aliases: GHSA-jggw-2q6g-c3m6, PYSEC-2026-2800, PYSEC-2026-2824, PYSEC-2026-2839, PYSEC-2026-723, UBUNTU-CVE-2019-19624, DEBIAN-CVE-2019-19624
- Record: https://cvemate.com/vulnerability/CVE-2019-19624 · JSON: https://cvemate.com/vulnerability/CVE-2019-19624/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
- EPSS: 1.756%, percentile 78.725%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian opencv (Debian): \< 4.1.2+dfsg-3
- ubuntu opencv (Ubuntu): \< 3.2.0+dfsg-4ubuntu0.1+esm4
- opencv opencv: \< 4.1.1
- PyPI opencv-contrib-python (PyPI): \< 4.1.0.25
- PyPI opencv-contrib-python-headless (PyPI): \< 4.1.0.25
- PyPI opencv-python (PyPI): \< 4.1.0.25
- PyPI opencv-python-headless (PyPI): \< 4.1.0.25
- redhat enterprise\_linux: 8.0

## References

- <https://github.com/opencv/opencv/issues/14554>
- <https://github.com/opencv/opencv/commit/d1615ba11a93062b1429fce9f0f638d1572d3418>
- <https://nvd.nist.gov/vuln/detail/CVE-2019-19624>
- <https://access.redhat.com/security/cve/cve-2019-19624>
- <https://github.com/opencv/opencv-python>
- <https://github.com/opencv/opencv-python/releases/tag/25>
- <https://pypi.org/project/opencv-contrib-python>
- <https://github.com/advisories/GHSA-jggw-2q6g-c3m6>
- <https://pypi.org/project/opencv-python>
- <https://pypi.org/project/opencv-python-headless>
- <https://pypi.org/project/opencv-contrib-python-headless>
- <https://ubuntu.com/security/CVE-2019-19624>
- <https://www.cve.org/CVERecord?id=CVE-2019-19624>
- <https://ubuntu.com/security/notices/USN-7247-1>
- <https://security-tracker.debian.org/tracker/CVE-2019-19624>

---

Data as of 2026-12-05T06:59:39.132Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
