{"schemaVersion":3,"id":"CVE-2019-15939","aliases":["GHSA-hxfw-jm98-v4mq","PYSEC-2026-2799","PYSEC-2026-2822","PYSEC-2026-2838","PYSEC-2026-722","UBUNTU-CVE-2019-15939","DEBIAN-CVE-2019-15939"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2019-09-05T15:04:06.000Z","modified":"2024-08-05T01:03:32.411Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.9,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","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","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","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","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","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","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","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","exploitability":5.6,"impact":6,"computed":true}]},"epss":{"probability":0.022,"percentile":0.8226,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-0.17,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.0237},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.022,"percentile":0.8226}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0237,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.022,"percentile":0.8226}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_OPENCV_OPENCV","name":"Opencv","source":"github","url":"https://github.com/opencv/opencv/issues/9723","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-369","name":"Divide By Zero","description":"The product divides a value by zero.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/369.html"}],"affected":[{"vendor":"debian","product":"opencv","name":"opencv","label":"opencv","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/opencv","purlType":"deb","versions":[{"text":"< 4.1.2+dfsg-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.1.2+dfsg-3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"opencv","name":"opencv","label":"opencv","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/opencv","purlType":"deb","versions":[{"text":"< 2.4.8+dfsg1-2ubuntu1.2+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.4.9.1+dfsg-1.5ubuntu1.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 3.2.0+dfsg-4ubuntu0.1+esm3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.4.8+dfsg1-2ubuntu1.2+esm1 | < 2.4.9.1+dfsg-1.5ubuntu1.1+esm1 | < 3.2.0+dfsg-4ubuntu0.1+esm3","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"opencv","product":"opencv","name":"opencv","label":"opencv","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 4.1.0","eol":null,"hubHref":"/vendor/opencv/opencv"},{"vendor":"opensuse","product":"leap","name":"leap","label":"leap","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"15.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"15.1","eol":{"isEol":true,"eolDate":"2021-02-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"15.1","label":"Leap 15.1","eolFrom":"2021-02-02T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/leap"},{"vendor":"PyPI","product":"opencv-contrib-python","name":"opencv-contrib-python","label":"opencv-contrib-python","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/opencv-contrib-python","purlType":"pypi","versions":[{"text":"< 4.1.1.26","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.1.1.26","eol":null,"hubHref":null},{"vendor":"PyPI","product":"opencv-contrib-python-headless","name":"opencv-contrib-python-headless","label":"opencv-contrib-python-headless","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/opencv-contrib-python-headless","purlType":"pypi","versions":[{"text":"< 4.1.1.26","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.1.1.26","eol":null,"hubHref":null},{"vendor":"PyPI","product":"opencv-python","name":"opencv-python","label":"opencv-python","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/opencv-python","purlType":"pypi","versions":[{"text":"< 4.1.1.26","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.1.1.26","eol":null,"hubHref":null},{"vendor":"PyPI","product":"opencv-python-headless","name":"opencv-python-headless","label":"opencv-python-headless","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/opencv-python-headless","purlType":"pypi","versions":[{"text":"< 4.1.1.26","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.1.1.26","eol":null,"hubHref":null}],"affectedCount":9,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://github.com/OpenCV/opencv/issues/15287","label":"github.com/OpenCV/opencv/issues/15287","hostname":"github.com","tags":["X Refsource MISC","Third Party Advisory","WEB","REPORT"]},{"url":"https://github.com/opencv/opencv/pull/15382","label":"github.com/opencv/opencv/pull/15382","hostname":"github.com","tags":["X Refsource MISC","Exploit","Patch","Third Party Advisory","WEB","REPORT"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00025.html","label":"lists.opensuse.org/opensuse-security-announce/2019-12/msg00025.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Third Party Advisory","WEB"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html","label":"lists.debian.org/debian-lts-announce/2021/10/msg00028.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-15939","label":"nvd.nist.gov/vuln/detail/CVE-2019-15939","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/opencv/opencv-python","label":"github.com/opencv/opencv-python","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/opencv-contrib-python","label":"pypi.org/project/opencv-contrib-python","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-hxfw-jm98-v4mq","label":"github.com/advisories/GHSA-hxfw-jm98-v4mq","hostname":"github.com","tags":["Advisory"]},{"url":"https://pypi.org/project/opencv-python","label":"pypi.org/project/opencv-python","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://pypi.org/project/opencv-python-headless","label":"pypi.org/project/opencv-python-headless","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://pypi.org/project/opencv-contrib-python-headless","label":"pypi.org/project/opencv-contrib-python-headless","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://ubuntu.com/security/CVE-2019-15939","label":"ubuntu.com/security/CVE-2019-15939","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4818-1","label":"ubuntu.com/security/notices/USN-4818-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-15939","label":"www.cve.org/CVERecord?id=CVE-2019-15939","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-15939","label":"security-tracker.debian.org/tracker/CVE-2019-15939","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-2799-1","MGASA-2020-0030","OPENSUSE-SU-2019:2671-1","OPENSUSE-SU-2024:11115-1","OPENSUSE-SU-2024:11116-1","SUSE-SU-2019:3192-1","SUSE-SU-2019:3192-2","USN-4818-1"],"duplicates":[],"related":["OPENSUSE-SU-2019:2671-1","OPENSUSE-SU-2024:11115-1","OPENSUSE-SU-2024:11116-1","SUSE-SU-2019:3192-1","SUSE-SU-2019:3192-2","USN-4818-1"]},"timeline":[{"kind":"published","date":"2019-09-05T15:04:06.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T01:03:32.411Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T20:12:13.738Z","stale":false,"partial":false}}