Out-of-bounds Read in OpenCV
An out-of-bounds read was discovered in OpenCV before 4.1.1 (OpenCV-Python before 4.1.0.25). 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.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Python (PyPI) | opencv-contrib-python | < 4.1.0.25 | 4.1.0.25 |
| Python (PyPI) | opencv-contrib-python-headless | < 4.1.0.25 | 4.1.0.25 |
| Python (PyPI) | opencv-python | < 4.1.0.25 | 4.1.0.25 |
| Python (PyPI) | opencv-python-headless | < 4.1.0.25 | 4.1.0.25 |
Referencias
- https://nvd.nist.gov/vuln/detail/CVE-2019-19624
- https://github.com/opencv/opencv/issues/14554
- https://github.com/opencv/opencv/commit/d1615ba11a93062b1429fce9f0f638d1572d3418
- 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
- Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L- Debilidad (CWE)
CWE-125- Plataforma
- Python (PyPI)
- Paquete
opencv-contrib-python, opencv-contrib-python-headless, opencv-python- Publicada
- 12.10.2021
- Actualizado
- 11.10.2026 15:17
Fuentes y licencias
OSV / GitHub Advisory Database - PYSEC-2026-723 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-2800 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-2824 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-2839 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-jggw-2q6g-c3m6 - CC BY 4.0
Historial de vulnerabilidades: opencv-contrib-python-headless
Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 11
- Primera → última
- 10.2021 08.2024
- Sin corrección
- 2
- Explotada en ataques
- 0
Distribución por gravedad
- Alta 7
- Media 3
- Sin evaluar 1
Divulgaciones por año
- 2021: 9
- 2022: 0
- 2023: 1
- 2024: 1
- 2025: 0
- 2026: 0
-
Out-of-bounds Read in OpenCV esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.