{"id":"PYSEC-2026-717","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 (corresponding to OpenCV-Python 3.3.0.9) and earlier.","aliases":["CVE-2017-12863","GHSA-wq8f-wvqp-xvvm","PYSEC-2026-2832"],"modified":"2026-07-13T16:43:47.216014085Z","published":"2026-07-02T14:13:11.936447Z","references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12863"},{"type":"WEB","url":"https://github.com/opencv/opencv/issues/9371"},{"type":"WEB","url":"https://github.com/opencv/opencv/pull/9376"},{"type":"PACKAGE","url":"https://github.com/opencv/opencv-python"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html"},{"type":"WEB","url":"https://security.gentoo.org/glsa/201712-02"},{"type":"PACKAGE","url":"https://pypi.org/project/opencv-contrib-python"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-wq8f-wvqp-xvvm"}],"affected":[{"package":{"name":"opencv-contrib-python","ecosystem":"PyPI","purl":"pkg:pypi/opencv-contrib-python"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.1.11"}]}],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/opencv-contrib-python/PYSEC-2026-717.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}