{"id":"CVE-2019-15939","aliases":["GHSA-hxfw-jm98-v4mq","PYSEC-2026-2799","PYSEC-2026-2822","PYSEC-2026-2838","PYSEC-2026-722"],"url":"https://o3.security/vulnerability/CVE-2019-15939","summary":"Divide By Zero in OpenCV.","details":"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.","published":"2019-09-05T16:15:11.963Z","modified":"2026-07-13T16:43:21.690600042Z","cvss":{"score":5.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"opencv-python","fixedVersion":"4.1.1.26"},{"ecosystem":"PyPI","name":"opencv-python-headless","fixedVersion":"4.1.1.26"},{"ecosystem":"PyPI","name":"opencv-contrib-python","fixedVersion":"4.1.1.26"},{"ecosystem":"PyPI","name":"opencv-contrib-python-headless","fixedVersion":"4.1.1.26"}],"fix":{"url":"https://github.com/opencv/opencv/pull/15382","label":"opencv/opencv#15382"},"references":[{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00025.html"},{"type":"ADVISORY","url":"https://github.com/OpenCV/opencv/issues/15287"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html"},{"type":"FIX","url":"https://github.com/opencv/opencv/pull/15382"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-15939"},{"type":"PACKAGE","url":"https://github.com/opencv/opencv-python"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-13T16:43:21.690600042Z"}}