{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2017-12864","published":"2017-08-15T16:29:00.340000Z","last_modified":"2026-06-17T01:04:03.013000Z","status":"Modified","cvss":{"version":"3.1","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","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-190"],"cpes":[{"criteria":"cpe:2.3:a:opencv:opencv:*:*:*:*:*:*:*:*","part":"a","vendor":"opencv","product":"opencv","version_end_including":"3.3.0"},{"criteria":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"8.0"},{"criteria":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"9.0"}],"cpes_truncated":false,"vendors":["opencv","debian"],"products":["opencv/opencv","debian/debian_linux"],"epss":{"score":0.02722,"percentile":0.86795,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-267x-w5hx-8hjr","ecosystem":"PyPI","name":"opencv-contrib-python","purl":"pkg:pypi/opencv-contrib-python","ranges":[{"introduced":"0","fixed":"3.3.1.11"}],"versions":[],"versions_truncated":false},{"advisory":"PYSEC-2026-697","ecosystem":"PyPI","name":"opencv-contrib-python","purl":"pkg:pypi/opencv-contrib-python","ranges":[{"introduced":"0","fixed":"3.3.1.11"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-267x-w5hx-8hjr","ecosystem":"PyPI","name":"opencv-python","purl":"pkg:pypi/opencv-python","ranges":[{"introduced":"0","fixed":"3.3.1.11"}],"versions":[],"versions_truncated":false},{"advisory":"PYSEC-2026-2804","ecosystem":"PyPI","name":"opencv-python","purl":"pkg:pypi/opencv-python","ranges":[{"introduced":"0","fixed":"3.3.1.11"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":68,"links":{"html_es":"/es/cve/CVE-2017-12864/","html_en":"/en/cve/CVE-2017-12864/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-12864","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-12864"},"untrusted":{"vendor_name":"Opencv","product_name":"Opencv","desc_en":"In opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function ReadNumber did not checkout the input length, which lead to integer overflow. If the image is from remote, may lead to remote code execution or denial of service. This affects Opencv 3.3 and earlier.","affected":[],"references":[{"url":"https://github.com/opencv/opencv/issues/9372","tags":["Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/201712-02","tags":["Third Party Advisory"]}]}}