# CVE-2019-15939

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2019-09-05 · Modified: 2024-08-05
- Aliases: GHSA-hxfw-jm98-v4mq, PYSEC-2026-2799, PYSEC-2026-2822, PYSEC-2026-2838, PYSEC-2026-722, UBUNTU-CVE-2019-15939, DEBIAN-CVE-2019-15939
- Record: https://cvemate.com/vulnerability/CVE-2019-15939 · JSON: https://cvemate.com/vulnerability/CVE-2019-15939/json

## Description

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

## Signals

- CVSS: 5.9 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 2.467%, percentile 85.02%, 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): \< 2.4.8+dfsg1-2ubuntu1.2+esm1 \| \< 2.4.9.1+dfsg-1.5ubuntu1.1+esm1 \| \< 3.2.0+dfsg-4ubuntu0.1+esm3
- debian debian\_linux: 9.0
- opencv opencv: ≤ 4.1.0
- opensuse leap: 15.1
- PyPI opencv-contrib-python (PyPI): \< 4.1.1.26
- PyPI opencv-contrib-python-headless (PyPI): \< 4.1.1.26
- PyPI opencv-python (PyPI): \< 4.1.1.26
- PyPI opencv-python-headless (PyPI): \< 4.1.1.26

## References

- <https://github.com/OpenCV/opencv/issues/15287>
- <https://github.com/opencv/opencv/pull/15382>
- <http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00025.html>
- <https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2019-15939>
- <https://github.com/opencv/opencv-python>
- <https://pypi.org/project/opencv-contrib-python>
- <https://github.com/advisories/GHSA-hxfw-jm98-v4mq>
- <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-15939>
- <https://ubuntu.com/security/notices/USN-4818-1>
- <https://www.cve.org/CVERecord?id=CVE-2019-15939>
- <https://security-tracker.debian.org/tracker/CVE-2019-15939>

---

Data as of 2026-12-05T07:23:57.812Z. 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
