~ / search / GHSA-hxfw-jm98-v4mq

GHSA-hxfw-jm98-v4mq

Divide By Zero in OpenCV.

Source: GitHub Advisory Database (reviewed) Moderate CVE-2019-15939

Packages

EcosystemPackageAffectedFixed in
PyPI opencv-python < 4.1.1.26 4.1.1.26
PyPI opencv-python-headless < 4.1.1.26 4.1.1.26
PyPI opencv-contrib-python < 4.1.1.26 4.1.1.26
PyPI opencv-contrib-python-headless < 4.1.1.26 4.1.1.26

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.