CVE-2017-12862
publishedopencv: Heap-based buffer over-write in modules/imgcodecs/src/grfmt_pxm.cpp
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | opencv | Advisory build | 2.4.9.1+dfsg-1+deb8u2 | DLA-1438-1 |
| Debian | stretch | opencv | Advisory build | 2.4.9.1+dfsg1-2+deb9u1 | DLA-2799-1 |
| Debian | wheezy | opencv | Advisory build | 2.3.1-11+deb7u2 | DLA-1117-1 |
Description
In modules/imgcodecs/src/grfmt_pxm.cpp, the length of buffer AutoBuffer _src is small than expected, which will cause copy buffer overflow later. If the image is from remote, may lead to remote code execution or denial of service. This affects Opencv 3.3 and earlier.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
4- https://github.com/opencv/opencv/issues/9370
- [debian-lts-announce] 20180722 [SECURITY] [DLA 1438-1] opencv security update https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html
- [debian-lts-announce] 20211030 [SECURITY] [DLA 2799-1] opencv security update https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html
- GLSA-201712-02 https://security.gentoo.org/glsa/201712-02
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a0eb0c5d7b785fcde3c66f029a6d7aff421b95e98986eba4db40c88dbbb083d0
- Ingested
- 23 Sep 2026, 07:42:00 UTC
- Source record
- Official CVE record