CVE-2019-15939Opencv
Medium 5.9 No auth needed
Follow: this CVE · Opencv · Opencv We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Opencv.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| opencv | opencv | ≤ 4.1.0 |
| opensuse | leap | 15.1 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Third Party Advisory
- github.com Third Party Advisory
- github.com Exploit Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory