Skip to main content
No exploitation reportedFix available

CVE-2019-15939

No exploitation reported by the sources we read.

  • Published2019-09-05
  • WeaknessCWE-369

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2019-09-0516:15CVE publishedNVD

Versions per branch

NVD
Opencv
BranchAffectedFixed in
4.1≤ 4.1.0no fix published
Debian debian linux
BranchAffectedFixed in
9.0= 9.0no fix published
Opensuse leap
BranchAffectedFixed in
15.1= 15.1no fix published

4 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • opencvUbuntu:Pro:18.04:LTSall versions · fixed in 3.2.0+dfsg-4ubuntu0.1+esm3
  • opencvUbuntu:Pro:16.04:LTSall versions · fixed in 2.4.9.1+dfsg-1.5ubuntu1.1+esm1
  • opencvUbuntu:Pro:14.04:LTSall versions · fixed in 2.4.8+dfsg1-2ubuntu1.2+esm1
  • opencvSUSE:Linux Enterprise Workstation Extension 15 SP2all versions · fixed in 3.3.1-6.6.1
  • opencvSUSE:Linux Enterprise Workstation Extension 15 SP1all versions · fixed in 3.3.1-6.6.1
  • opencvSUSE:Linux Enterprise Workstation Extension 15all versions · fixed in 3.3.1-6.6.1
  • opencvSUSE:Linux Enterprise Module for Package Hub 15 SP2all versions · fixed in 3.3.1-6.6.1
  • opencvSUSE:Linux Enterprise Module for Package Hub 15 SP1all versions · fixed in 3.3.1-6.6.1

9 more package ranges on OSV.dev

Vendor advisories

  • CVE-2019-15939 Red Hat Product Security15 known affected

    opencv: division by zero in cv::HOGDescriptor::getDescriptorSize in modules/objdetect/src/hog.cpp

    opencv-devel as a component of Red Hat Enterprise Linux 6 · opencv-devel-docs as a component of Red Hat Enterprise Linux 6 · opencv-python as a component of Red Hat Enterprise Linux 6 · +12 more

Full record on NVD

Fix

  1. Workaround from the vendor Red Hat Product Security CVE-2019-15939 · 15 productsAvoid using the Histogram of Oriented Gradients (HOG) Descriptor algorithm to detect objects in digital images. Alternatively, ensure HOGDescriptor objects are not created from external untrusted files.
  2. No fix planned, says the vendor Red Hat Product Security CVE-2019-15939 · 4 productsOut of support scope
  3. No fix planned, says the vendor Red Hat Product Security CVE-2019-15939 · 11 productsWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVSS 3.15.9read 2026-10-23
  • NVDCVSS 2.04.3read 2026-10-23
  • NVDweakness (CWE)CWE-369read 2026-10-23
  • FIRST EPSSEPSS score2.5 %2026-11-08
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryMODERATE2021-10-06

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2019-09-05
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-hxfw-jm98-v4mq

Frequently asked questions

What is CVE-2019-15939?

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.

Is CVE-2019-15939 actively exploited?

Active exploitation of CVE-2019-15939 has not been confirmed. Its EPSS score was 2.5% on 2026-11-08, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2019-15939?

CVE-2019-15939 has a CVSS v3 base score of 5.9 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running opencv? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record