CVE-2017-17760
MEDIUM 6.5CVSS 3.1Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV
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.
- Published
- 29 Dec 2017
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-119
- Also known as
- GHSA-jcxv-2j3h-mg59PYSEC-2026-2823PYSEC-2026-711
- Sources
- NVDJSONOSV GHSA-jcxv-2j3h-mg59JSONOSV PYSEC-2026-2823JSONOSV PYSEC-2026-711JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | opencv | opencvcpe:2.3:a:opencv:opencv:3.3.1:*:*:*:*:*:*:* |
= 3.3.1 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| OSV | PyPI | opencv-python | < 3.4.0.12 | 3.4.0.12 |
| OSV | PyPI | opencv-contrib-python | < 3.4.0.12 | 3.4.0.12 |
References
- http://www.securityfocus.com/bid/102974 · Third Party Advisory, VDB Entry, WEB
- https://github.com/opencv/opencv/issues/10351 · Issue Tracking, Third Party Advisory, WEB
- https://github.com/opencv/opencv/pull/10369/commits/7bbe1a53cfc097b82b1589f7915a2120de39274c · Issue Tracking, Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2018/01/msg00008.html · Mailing List, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html · Mailing List, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-17760 · ADVISORY
- https://github.com/opencv/opencv-python · PACKAGE
- https://pypi.org/project/opencv-python · PACKAGE
- https://github.com/advisories/GHSA-jcxv-2j3h-mg59 · ADVISORY
- https://pypi.org/project/opencv-contrib-python · PACKAGE
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 29 Dec 2017)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Oct 2021)