Vulnerability record · CVE-2017-12864 · published 15 August 2017
CVE-2017-12864: Opencv integer overflow vulnerability
Opencv · Opencv
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.
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.
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/9372 | 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/9372 | 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-12864 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-12864), CISA KEV, FIRST EPSS (scores of 2026-10-01). This page is refreshed as NVD updates the record.