CVE-2017-12863
publishedopencv: Integer overflow in PxMDecoder::readData function in 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 opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function PxMDecoder::readData has an integer overflow when calculate src_pitch. 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/9371
- [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
- 68edb1a0fb866df715f025fb7b17a842a4630c3e201ad8b4c773f6fd7cc67606
- Ingested
- 23 Sep 2026, 07:42:00 UTC
- Source record
- Official CVE record