{"id":"GHSA-jcxv-2j3h-mg59","summary":"Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV","details":"OpenCV 3.3.1 (corresponding with opencv-python and opencv-contrib-python 3.3.1.11) has a Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp, because an incorrect size value is used.","aliases":["CVE-2017-17760","PYSEC-2026-2823","PYSEC-2026-711"],"modified":"2026-08-24T00:34:19.233127107Z","published":"2021-10-12T22:03:09Z","database_specific":{"nvd_published_at":"2017-12-29T18:29:00Z","cwe_ids":["CWE-119"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-10-07T20:20:01Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-17760"},{"type":"WEB","url":"https://github.com/opencv/opencv/issues/10351"},{"type":"WEB","url":"https://github.com/opencv/opencv/pull/10369/commits/7bbe1a53cfc097b82b1589f7915a2120de39274c"},{"type":"PACKAGE","url":"https://github.com/opencv/opencv-python"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2018/01/msg00008.html"},{"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":"http://www.securityfocus.com/bid/102974"}],"affected":[{"package":{"name":"opencv-python","ecosystem":"PyPI","purl":"pkg:pypi/opencv-python"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.0.12"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 3.3.1.11","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-jcxv-2j3h-mg59/GHSA-jcxv-2j3h-mg59.json"}},{"package":{"name":"opencv-contrib-python","ecosystem":"PyPI","purl":"pkg:pypi/opencv-contrib-python"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.0.12"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 3.3.1.11","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-jcxv-2j3h-mg59/GHSA-jcxv-2j3h-mg59.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}