CVE-2017-17760Opencv
Medium 6.5 No auth needed
Follow: this CVE · Opencv · Opencv We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- 2.2% probability of exploitation in 30 days · percentile 84
- Auth required
- No
- Published
- Dec 29, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-119
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
OpenCV 3.3.1 has a Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp, because an incorrect size value is used.
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 |
< 3.4.0.12 |
3.4.0.12 |
pip install "opencv-contrib-python>=3.4.0.12" |
| PyPI | opencv-contrib-python |
< 3.4.0.12 |
3.4.0.12 |
pip install "opencv-contrib-python>=3.4.0.12" |
| PyPI | opencv-python |
< 3.4.0.12 |
3.4.0.12 |
pip install "opencv-python>=3.4.0.12" |
| PyPI | opencv-python |
< 3.4.0.12 |
3.4.0.12 |
pip install "opencv-python>=3.4.0.12" |
Per OSV / GitHub Advisories (GHSA-jcxv-2j3h-mg59, PYSEC-2026-711, PYSEC-2026-2823). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| opencv | opencv | 3.3.1 |
| debian | debian_linux | 7.0 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- github.com Issue Tracking Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory