opencv/opencv-python · Security
Divide By Zero in OpenCV.
- GHSA ID
- GHSA-hxfw-jm98-v4mq
- CVE ID
- CVE-2019-15939
- Severity
- medium
- Published
- Updated
- CVSS
- 5.9 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 5.9 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
An issue was discovered in OpenCV 4.1.0 (OpenCV-Python 4.1.0.25). There is a divide-by-zero error in cv::HOGDescriptor::getDescriptorSize in modules/objdetect/src/hog.cpp.
CWEs
- CWE-369 · Divide By Zero
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-15939 ↗
- 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://github.com/advisories/GHSA-hxfw-jm98-v4mq ↗