{"id":"CVE-2017-12863","details":"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.","aliases":["GHSA-wq8f-wvqp-xvvm"],"modified":"2026-04-10T03:55:07.586282Z","published":"2017-08-15T16:29:00.293Z","references":[{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201712-02"},{"type":"FIX","url":"https://github.com/opencv/opencv/issues/9371"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/opencv/opencv","events":[{"introduced":"0"},{"last_affected":"e8357c0544c82beda237defc0abc90ee28992ee7"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"3.3.0"}]}}],"versions":["2.2","3.2.0-rc","3.3.0-cvsdk","3.3.0-rc"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12863.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"8.0"}]},{"events":[{"introduced":"0"},{"last_affected":"9.0"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}