CVE-2019-15939
MEDIUM 5.9CVSS 3.1Divide By Zero in OpenCV.
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.
- Published
- 5 Sep 2019
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-369
- Also known as
- GHSA-hxfw-jm98-v4mqPYSEC-2026-2799PYSEC-2026-2822PYSEC-2026-2838PYSEC-2026-722
- Sources
- NVDJSONOSV GHSA-hxfw-jm98-v4mqJSONOSV PYSEC-2026-2799JSONOSV PYSEC-2026-2822JSONOSV PYSEC-2026-2838JSONOSV PYSEC-2026-722JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | opencv | opencvcpe:2.3:a:opencv:opencv:*:*:*:*:*:*:*:* |
<= 4.1.0 | |
| NVD | opensuse | leapcpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* |
= 15.1 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| OSV | PyPI | opencv-python | < 4.1.1.26 | 4.1.1.26 |
| OSV | PyPI | opencv-python-headless | < 4.1.1.26 | 4.1.1.26 |
| OSV | PyPI | opencv-contrib-python | < 4.1.1.26 | 4.1.1.26 |
| OSV | PyPI | opencv-contrib-python-headless | < 4.1.1.26 | 4.1.1.26 |
References
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00025.html · Third Party Advisory, WEB
- https://github.com/OpenCV/opencv/issues/15287 · Third Party Advisory, WEB
- https://github.com/opencv/opencv/pull/15382 · Exploit, Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-15939 · ADVISORY
- https://github.com/opencv/opencv-python · PACKAGE
- https://pypi.org/project/opencv-contrib-python · PACKAGE
- https://github.com/advisories/GHSA-hxfw-jm98-v4mq · ADVISORY
- https://pypi.org/project/opencv-python · PACKAGE
- https://pypi.org/project/opencv-python-headless · PACKAGE
- https://pypi.org/project/opencv-contrib-python-headless · PACKAGE
History
- 25 Nov 2026 20:30 UTC · NVD: first stored (published 5 Sep 2019)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Oct 2021)