{"id":"CVE-2017-12862","published":"2017-08-15T16:00:00Z","modified":"2024-08-05T18:51:07Z","title":"In modules/imgcodecs/src/grfmt_pxm.cpp, the length of buffer AutoBuffer _src is small than expected, which will cause…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03091,"percentile":0.88031,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://security.gentoo.org/glsa/201712-02","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://github.com/opencv/opencv/issues/9370","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":17.6,"factors":[{"name":"EPSS percentile","points":17.61}]},"affected":[{"ecosystem":"PyPI","package":"opencv-python","vulnerableRanges":["<3.3.1.11"],"patched":["3.3.1.11"],"from":["GHSA-5rpc-gwh9-q9fg","PYSEC-2026-2807"],"provenance":"source"},{"ecosystem":"PyPI","package":"opencv-contrib-python","vulnerableRanges":["<3.3.1.11"],"patched":["3.3.1.11"],"from":["GHSA-5rpc-gwh9-q9fg","PYSEC-2026-699"],"provenance":"source"}],"summary":{"text":"The flaw is in the PXM image decoder in modules/imgcodecs/src/grfmt_pxm.cpp of OpenCV, where the AutoBuffer _src is allocated smaller than expected, leading to a later buffer overflow during copying.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:24Z"},"euvd":{"id":"EUVD-2021-2163","exploited":false,"provenance":"source"}}