CVE-2017-12864
publishedopencv: Integer overflow in ReadNumber function in opencv/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 opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function ReadNumber did not checkout the input length, which lead to integer overflow. 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/9372
- [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
- f01519d66e4e354ae46d86d87c7b78ac5f8b02b048a736e6e341f3665b61493c
- Ingested
- 23 Sep 2026, 07:42:00 UTC
- Source record
- Official CVE record