Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. opencv-contrib-python-headless
  4. ›
  5. CVE-2019-15939

CVE-2019-15939: Divide By Zero

October 12, 2021 (updated November 18, 2021)

An issue was discovered in OpenCV There is a divide-by-zero error in cv::HOGDescriptor::getDescriptorSize in modules/objdetect/src/hog.cpp.

References

  • lists.opensuse.org/opensuse-security-announce/2019-12/msg00025.html
  • github.com/OpenCV/opencv/issues/15287
  • github.com/advisories/GHSA-hxfw-jm98-v4mq
  • github.com/opencv/opencv/pull/15382
  • lists.debian.org/debian-lts-announce/2021/10/msg00028.html
  • nvd.nist.gov/vuln/detail/CVE-2019-15939

Code Behaviors & Features

Detect and mitigate CVE-2019-15939 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 4.1.0.25

Fixed versions

  • 4.1.1.26

Solution

Upgrade to version 4.1.1.26 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-369: Divide By Zero

Source file

pypi/opencv-contrib-python-headless/CVE-2019-15939.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:14 +0000.