CVEfocus › CVE database › CVE-2019-15939

CVE-2019-15939

CVSS 5.9 MediumEPSS 2.5% (higher than 85% of CVEs)Published 2019-09-05Updated 2024-08-05Assigner: mitre

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.

What to do

Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
3Fix pending
15Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04opencvNot affected
vulnerable_code_not_present
Ubuntu 18.04opencvFix pending3.2.0+dfsg-4ubuntu0.1+esm3 (Ubuntu Pro)UBUNTU-CVE-2019-15939
Ubuntu 16.04opencvFix pending2.4.9.1+dfsg-1.5ubuntu1.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2019-15939
Ubuntu 14.04opencvFix pending2.4.8+dfsg1-2ubuntu1.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2019-15939
Debian 14opencvFixed4.1.2+dfsg-3DEBIAN-CVE-2019-15939
Debian 13opencvFixed4.1.2+dfsg-3DEBIAN-CVE-2019-15939
Debian 12opencvFixed4.1.2+dfsg-3DEBIAN-CVE-2019-15939
Red Hat Enterprise Linux 8opencvWill not fix
Will not fix
Red Hat Enterprise Linux 8opencv-contribWill not fix
Will not fix
Red Hat Enterprise Linux 8opencv-coreWill not fix
Will not fix
Red Hat Enterprise Linux 8opencv-develWill not fix
Will not fix
Red Hat Enterprise Linux 8opencv-docWill not fix
Will not fix
Red Hat Enterprise Linux 8python3-opencvWill not fix
Will not fix
Red Hat Enterprise Linux 7opencvWill not fix
Will not fix
Red Hat Enterprise Linux 7opencv-coreWill not fix
Will not fix
Red Hat Enterprise Linux 7opencv-develWill not fix
Will not fix
Red Hat Enterprise Linux 7opencv-devel-docsWill not fix
Will not fix
Red Hat Enterprise Linux 7opencv-pythonWill not fix
Will not fix
Red Hat Enterprise Linux 6opencvWill not fix
Out of support scope
Red Hat Enterprise Linux 6opencv-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6opencv-devel-docsWill not fix
Out of support scope
Red Hat Enterprise Linux 6opencv-pythonWill not fix
Out of support scope
PyPI libraryopencv-contrib-pythonFixed4.1.1.26GHSA-hxfw-jm98-v4mq
PyPI libraryopencv-contrib-python-headlessFixed4.1.1.26PYSEC-2026-722
PyPI libraryopencv-pythonFixed4.1.1.26GHSA-hxfw-jm98-v4mq
PyPI libraryopencv-python-headlessFixed4.1.1.26GHSA-hxfw-jm98-v4mq

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.