{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-15939","id":"CVE-2019-15939","title":"Divide By Zero in OpenCV.","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.","descriptionLong":"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.","published":"2019-09-05T15:04:06.000Z","updated":"2026-10-31T02:46:03.542222349Z","reserved":"2019-09-05T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"opencv-python","purl":"pkg:pypi/opencv-python","ranges":["<4.1.1.26"],"fixed":["4.1.1.26"],"advisory":"GHSA-hxfw-jm98-v4mq"},{"ecosystem":"PyPI","name":"opencv-python-headless","purl":"pkg:pypi/opencv-python-headless","ranges":["<4.1.1.26"],"fixed":["4.1.1.26"],"advisory":"GHSA-hxfw-jm98-v4mq"},{"ecosystem":"PyPI","name":"opencv-contrib-python","purl":"pkg:pypi/opencv-contrib-python","ranges":["<4.1.1.26"],"fixed":["4.1.1.26"],"advisory":"GHSA-hxfw-jm98-v4mq"},{"ecosystem":"PyPI","name":"opencv-contrib-python-headless","purl":"pkg:pypi/opencv-contrib-python-headless","ranges":["<4.1.1.26"],"fixed":["4.1.1.26"],"advisory":"GHSA-hxfw-jm98-v4mq"}],"cwes":["CWE-369"],"aliases":["GHSA-hxfw-jm98-v4mq","PYSEC-2026-2799","PYSEC-2026-2822","PYSEC-2026-2838","PYSEC-2026-722"],"references":[{"url":"https://github.com/OpenCV/opencv/issues/15287","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/opencv/opencv/pull/15382","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00025.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-15939","tags":["advisory"]},{"url":"https://github.com/opencv/opencv-python","tags":["package"]},{"url":"https://pypi.org/project/opencv-contrib-python","tags":["package"]},{"url":"https://github.com/advisories/GHSA-hxfw-jm98-v4mq","tags":["advisory"]},{"url":"https://pypi.org/project/opencv-python","tags":["package"]},{"url":"https://pypi.org/project/opencv-python-headless","tags":["package"]},{"url":"https://pypi.org/project/opencv-contrib-python-headless","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02456,"epssPercentile":0.84738,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-15939","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-15939","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-15939","ok":true,"note":"4 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hxfw-jm98-v4mq","ok":true,"note":"GHSA-hxfw-jm98-v4mq"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-15939","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}