CVE-2017-12862
In modules/imgcodecs/src/grfmt_pxm.cpp, the length of buffer AutoBuffer _src is small than expected, which will cause copy buffer overflow later.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.09%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 3.09% probability · 88th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-787
- Affected
- opencv/opencv · debian/debian linux
- Source
- cve@mitre.org
EPSS 3.1% since 27 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
References
- https://github.com/opencv/opencv/issues/9370Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/07/msg00030.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/10/msg00028.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/201712-02Third Party Advisory
- https://github.com/opencv/opencv/issues/9370Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/07/msg00030.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/10/msg00028.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/201712-02Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.