CVE-2019-15939Published Sep 5, 2019 · Sep 5Updated Oct 31
Divide By Zero in OpenCV.
Medium5.9Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| opencv-python PyPI |
|
|
| opencv-python-headless PyPI |
|
|
| opencv-contrib-python PyPI |
| Product | Affected | Fixed in |
|---|---|---|
| opencv-python PyPI |
|
|
| opencv-python-headless PyPI |
|
|
| opencv-contrib-python PyPI |
< 4.1.1.26
|
| opencv-contrib-python-headless PyPI |
|
|
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.
From the CVE record · mitre
OpenCV 4.1.0 has a divide-by-zero error in cv::HOGDescriptor::getDescriptorSize. The input does not establish how an attacker could trigger it or specify access, authentication, or user-interaction requirements.
Check installations of the PyPI packages opencv-python, opencv-python-headless, opencv-contrib-python, and opencv-contrib-python-headless below 4.1.1.26.