{"id":"CVE-2017-12863","aliases":["GHSA-wq8f-wvqp-xvvm","PYSEC-2026-2832","PYSEC-2026-717"],"url":"https://o3.security/vulnerability/CVE-2017-12863","summary":"Integer Overflow or Wraparound in OpenCV","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.","published":"2017-08-15T16:29:00.293Z","modified":"2026-07-13T16:43:47.216014085Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"opencv-python","fixedVersion":"3.3.1.11"},{"ecosystem":"PyPI","name":"opencv-contrib-python","fixedVersion":"3.3.1.11"}],"fix":null,"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-13T16:43:47.216014085Z"}}