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