Vulnerability record · CVE-2017-12863 · published 15 August 2017
CVE-2017-12863: Opencv integer overflow vulnerability
Opencv · Opencv
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.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/opencv/opencv/issues/9371 | Issue TrackingPatchThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html | Mailing ListThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html | Mailing ListThird Party Advisory |
| https://security.gentoo.org/glsa/201712-02 | Third Party Advisory |
| https://github.com/opencv/opencv/issues/9371 | Issue TrackingPatchThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html | Mailing ListThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html | Mailing ListThird Party Advisory |
| https://security.gentoo.org/glsa/201712-02 | Third Party Advisory |
Track CVE-2017-12863 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2017-12863), CISA KEV, FIRST EPSS (scores of 2026-10-01). This page is refreshed as NVD updates the record.