CVE-2019-15939
MEDIUM5.9EPSS 0.72%Divide By Zero in OpenCV.
Published: 10/12/2021Modified: 4/28/2026
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 packages (5)
- Debian/opencvfrom 0, < 4.1.2+dfsg-3
- PyPI/opencv-contrib-pythonfrom 0, < 4.1.1.26
- PyPI/opencv-contrib-python-headlessfrom 0, < 4.1.1.26
- PyPI/opencv-pythonfrom 0, < 4.1.1.26
- PyPI/opencv-python-headlessfrom 0, < 4.1.1.26
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2019-15939
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2019-15939
- PATCHhttps://github.com/opencv/opencv-python
- WEBhttp://lists.opensuse.org/opensuse-security-announce/2019-12/msg00025.html
- WEBhttps://github.com/OpenCV/opencv/issues/15287
- WEBhttps://github.com/opencv/opencv/pull/15382
- WEBhttps://lists.debian.org/debian-lts-announce/2021/10/msg00028.html