opencv: division by zero in cv::HOGDescriptor::getDescriptorSize in modules/objdetect/src/hog.cpp
Published Sep 5, 2019
5.9
MEDIUMCVSS 3.1
EPSS 2.37%
Description
An issue was discovered in OpenCV 4.1.0. There is a divide-by-zero error in cv::HOGDescriptor::getDescriptorSize in modules/objdetect/src/hog.cpp.
Affected products
No data.
No data.
Red Hat Enterprise Linux 6
opencv
Out of support scope
Red Hat Enterprise Linux 7
opencv
Will not fix
Red Hat Enterprise Linux 8
opencv
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | opencv | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | opencv | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | opencv | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat mitigation
Avoid using the Histogram of Oriented Gradients (HOG) Descriptor algorithm to detect objects in digital images. Alternatively, ensure HOGDescriptor objects are not created from external untrusted files.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
AV:N/AC:M/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Table of values (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 2.37% (0.02370) | 83.24th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.35% (0.02351) | 81.43th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.37% (0.00374) | 72.99th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.37% (0.00374) | 71.95th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.37% (0.00374) | 68.43th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Sep 10, 2022 | 1.02% (0.01018) | 38.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.02% (0.01018) | 36.86th | v2 (v2022.01.01) |
| Feb 4, 2022 | 7.18% (0.07176) | 80.33th | v2 (v2022.01.01) |
| Feb 3, 2022 | 4.50% (0.04504) | 76.47th | v1 |
| Jan 6, 2022 | 4.50% (0.04504) | 76.26th | v1 |
| Oct 31, 2021 | 1.04% (0.01040) | 65.04th | v1 |
| Sep 1, 2021 | 0.83% (0.00833) | 57.50th | v1 |
| Apr 14, 2021 | 0.83% (0.00833) | 0.00th | v1 |
References (9)
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00025.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2019-15939 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1764731 Issue Tracking
- https://github.com/OpenCV/opencv/issues/15287 x_refsource_MISCThird Party Advisory
- https://github.com/advisories/GHSA-hxfw-jm98-v4mq Advisory
- https://github.com/opencv/opencv/pull/15382 x_refsource_MISCExploitPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2019-15939
- https://www.cve.org/CVERecord?id=CVE-2019-15939
| Link | Providers | Tags |
|---|---|---|
| http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00025.html | vendor-advisoryx_refsource_SUSEThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2019-15939 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1764731 | Issue Tracking | |
| https://github.com/OpenCV/opencv/issues/15287 | x_refsource_MISCThird Party Advisory | |
| https://github.com/advisories/GHSA-hxfw-jm98-v4mq | Advisory | |
| https://github.com/opencv/opencv/pull/15382 | x_refsource_MISCExploitPatchThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html | mailing-listx_refsource_MLISTMailing ListThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2019-15939 | ||
| https://www.cve.org/CVERecord?id=CVE-2019-15939 |
Change history (0)
No recorded changes yet.