Divide By Zero Affecting opencv package, versions <4.1.2+dfsg-3


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.27% (68th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-OPENCV-1555462
  • published9 Sept 2019
  • disclosed5 Sept 2019

Introduced: 5 Sep 2019

CVE-2019-15939  (opens in a new tab)
CWE-369  (opens in a new tab)

How to fix?

Upgrade Debian:12 opencv to version 4.1.2+dfsg-3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream opencv package and not the opencv package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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.

CVSS Scores

version 3.1