Live threats

All CVEs / Opencv

CVE-2019-15939Opencv

Medium 5.9 No auth needed

Priority
51
CVSS 3.1
5.9
EPSS
2.5%
probability of exploitation in 30 days · percentile 85
Auth required
No
Published
Sep 5, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-369
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Opencv.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI opencv-contrib-python < 4.1.1.26 4.1.1.26 pip install "opencv-contrib-python>=4.1.1.26"
PyPI opencv-contrib-python < 4.1.1.26 4.1.1.26 pip install "opencv-contrib-python>=4.1.1.26"
PyPI opencv-contrib-python-headless < 4.1.1.26 4.1.1.26 pip install "opencv-contrib-python-headless>=4.1.1.26"
PyPI opencv-contrib-python-headless < 4.1.1.26 4.1.1.26 pip install "opencv-contrib-python-headless>=4.1.1.26"
PyPI opencv-python < 4.1.1.26 4.1.1.26 pip install "opencv-python>=4.1.1.26"
PyPI opencv-python < 4.1.1.26 4.1.1.26 pip install "opencv-python>=4.1.1.26"
PyPI opencv-python-headless < 4.1.1.26 4.1.1.26 pip install "opencv-python-headless>=4.1.1.26"
PyPI opencv-python-headless < 4.1.1.26 4.1.1.26 pip install "opencv-python-headless>=4.1.1.26"

Per OSV / GitHub Advisories (GHSA-hxfw-jm98-v4mq, PYSEC-2026-2799, PYSEC-2026-722, PYSEC-2026-2822, PYSEC-2026-2838). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
opencvopencv≤ 4.1.0
opensuseleap15.1
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.