CVE-2019-19624
published 2019-12-06CVE-2019-19624: 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…
PriorityP431medium6.5CVSS 3.1
AVNACLPRNUINSUCLINAL
EPSS
1.74%
75.2th percentile
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.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | opencv | < opencv 4.1.2+dfsg-3 (bookworm) | opencv 4.1.2+dfsg-3 (bookworm) |
| opencv | opencv | < 4.1.1 | 4.1.1 |
| opencv | opencv | >= 0 < 4.1.2+dfsg-3 | 4.1.2+dfsg-3 |
| opencv | opencv | >= 0 < 4.1.2+dfsg-3 | 4.1.2+dfsg-3 |
| opencv | opencv | >= 0 < 4.1.2+dfsg-3 | 4.1.2+dfsg-3 |
| opencv | opencv | >= 0 < 4.1.2+dfsg-3 | 4.1.2+dfsg-3 |
| opencv | opencv | >= 0 < 3.2.0+dfsg-4ubuntu0.1+esm4 | 3.2.0+dfsg-4ubuntu0.1+esm4 |
| opencv | opencv | >= 0 < 4.5.4+dfsg-9ubuntu4+esm1 | 4.5.4+dfsg-9ubuntu4+esm1 |
| redhat | enterprise_linux | — | — |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
nvdv2.06.4MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:P
osv7.5HIGH
vendor_ubuntu7.5HIGH
vendor_debian6.5MEDIUM
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
opencv vulnerabilities
osv·2025-02-03·CVSS 7.5
CVE-2019-14493 [HIGH] opencv vulnerabilities
opencv vulnerabilities
It was discovered that OpenCV did not properly manage certain XML data,
leading to a NULL pointer dereference. If a user were tricked into
loading a specially crafted file, a remote attacker could possibly use
this issue to make OpenCV crash, resulting in a denial of service.
This issue only affected Ubuntu 18.04 LTS. (CVE-2019-14493)
It was discovered that OpenCV may perform out-of-bounds reads in certain
situations. An attacker could possibly use this issue to cause OpenCV to
crash, resulting in a denial of service, or the execution of arbitrary
code. This issue only affected Ubuntu 18.04 LTS.
(CVE-2019-16249, CVE-2019-19624)
It was discovered that the QR code module of OpenCV incorrectly processed
certain maliciously crafted QR codes. A remote attacker could po
OSV
Out-of-bounds Read in OpenCV
osv·2021-10-12
CVE-2019-19624 [MEDIUM] Out-of-bounds Read in OpenCV
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.
GHSA
Out-of-bounds Read in OpenCV
ghsa·2021-10-12
CVE-2019-19624 [MEDIUM] CWE-125 Out-of-bounds Read in OpenCV
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.
OSV
CVE-2019-19624: An out-of-bounds read was discovered in OpenCV before 4
osv·2019-12-06·CVSS 6.5
CVE-2019-19624 [MEDIUM] CVE-2019-19624: An out-of-bounds read was discovered in OpenCV before 4
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.
Ubuntu
OpenCV vulnerabilities
vendor_ubuntu·2025-02-03·CVSS 7.5
CVE-2023-2618 [HIGH] OpenCV vulnerabilities
Title: OpenCV vulnerabilities
Summary: Several security issues were fixed in OpenCV.
It was discovered that OpenCV did not properly manage certain XML data,
leading to a NULL pointer dereference. If a user were tricked into
loading a specially crafted file, a remote attacker could possibly use
this issue to make OpenCV crash, resulting in a denial of service.
This issue only affected Ubuntu 18.04 LTS. (CVE-2019-14493)
It was discovered that OpenCV may perform out-of-bounds reads in certain
situations. An attacker could possibly use this issue to cause OpenCV to
crash, resulting in a denial of service, or the execution of arbitrary
code. This issue only affected Ubuntu 18.04 LTS.
(CVE-2019-16249, CVE-2019-19624)
It was discovered that the QR code module of OpenCV incorrectly processed
c
Red Hat
opencv: out-of-bounds read in DIS optflow algorithm when dealing with small images
vendor_redhat·2019-05-14·CVSS 6.5
CVE-2019-19624 [MEDIUM] CWE-129 opencv: out-of-bounds read in DIS optflow algorithm when dealing with small images
opencv: out-of-bounds read in DIS optflow algorithm when dealing with small images
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.
An out-of-bounds read vulnerability was discovered in OpenCV. This flaw can be exploited when a small, carefully crafted image is loaded by an application linked to OpenCV. A remote attacker could exploit this flaw, causing a denial of service by causing the application to crash or read sensitive information from memory.
Statement: This issue did not affect the versions
Debian
CVE-2019-19624: opencv - An out-of-bounds read was discovered in OpenCV before 4.1.1. Specifically, varia...
vendor_debian·2019·CVSS 6.5
CVE-2019-19624 [MEDIUM] CVE-2019-19624: opencv - An out-of-bounds read was discovered in OpenCV before 4.1.1. Specifically, varia...
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.
Scope: local
bookworm: resolved (fixed in 4.1.2+dfsg-3)
bullseye: resolved (fixed in 4.1.2+dfsg-3)
forky: resolved (fixed in 4.1.2+dfsg-3)
sid: resolved (fixed in 4.1.2+dfsg-3)
trixie: resolved (fixed in 4.1.2+dfsg-3)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-19624 opencv: out-of-bounds read in DIS optflow algorithm when dealing with small images
bugzilla·2019-12-06·CVSS 6.5
CVE-2019-19624 [MEDIUM] CVE-2019-19624 opencv: out-of-bounds read in DIS optflow algorithm when dealing with small images
CVE-2019-19624 opencv: out-of-bounds read in DIS optflow algorithm when dealing with small images
An out-of-bounds read was discovered in opencv up to version 4.1.0. Specifically, variable coarsest_scale is assumed to be greater or equal than finest_scale in 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 heap-allocated arrays Ux and Uy.
Discussion:
Created opencv tracking bugs for this issue:
Affects: fedora-all [bug 1780544]
---
References:
https://github.com/opencv/opencv/issues/14554
https://github.com/opencv/opencv/pull/14641
---
Statement:
This issue did not affect the versions of OpenCV as shipped with Red Hat Enterprise Linux 6, and 7 as they did not include support for DIS optflow a
Bugzilla
CVE-2019-19624 opencv: out-of-bounds read in DIS optflow algorithm when dealing with small images [fedora-all]
bugzilla·2019-12-06·CVSS 6.5
CVE-2019-19624 [MEDIUM] CVE-2019-19624 opencv: out-of-bounds read in DIS optflow algorithm when dealing with small images [fedora-all]
CVE-2019-19624 opencv: out-of-bounds read in DIS optflow algorithm when dealing with small images [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue af
https://github.com/opencv/opencv/commit/d1615ba11a93062b1429fce9f0f638d1572d3418https://github.com/opencv/opencv/issues/14554https://access.redhat.com/security/cve/cve-2019-19624https://github.com/opencv/opencv/commit/d1615ba11a93062b1429fce9f0f638d1572d3418https://github.com/opencv/opencv/issues/14554
2019-12-06
Published