{"cve":"CVE-2017-12862","nvd":{"published":"2017-08-15T16:29:00.263","modified":"2026-06-17T01:04:02.770","status":"Modified","description":"In modules/imgcodecs/src/grfmt_pxm.cpp, the length of buffer AutoBuffer _src is small than expected, which will cause copy buffer overflow later. If the image is from remote, may lead to remote code execution or denial of service. This affects Opencv 3.3 and earlier.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-787"],"references":["https://github.com/opencv/opencv/issues/9370","https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html","https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html","https://security.gentoo.org/glsa/201712-02","https://github.com/opencv/opencv/issues/9370"],"products":["debian:debian_linux","opencv:opencv"],"source":"nvd","synced_at":"2026-10-19T20:44:47.710380879+00:00"},"epss":{"cve":"CVE-2017-12862","score":0.03091,"percentile":0.87721,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5rpc-gwh9-q9fg","url":"https://osv.dev/vulnerability/GHSA-5rpc-gwh9-q9fg","summary":"Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV","modified":"2026-09-10T03:49:09.082478064Z","packages":[{"ecosystem":"PyPI","name":"opencv-python","purl":"pkg:pypi/opencv-python","ranges":["<3.3.1.11"],"fixed":["3.3.1.11"]},{"ecosystem":"PyPI","name":"opencv-contrib-python","purl":"pkg:pypi/opencv-contrib-python","ranges":["<3.3.1.11"],"fixed":["3.3.1.11"]}]},{"id":"PYSEC-2026-2807","url":"https://osv.dev/vulnerability/PYSEC-2026-2807","summary":"Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV","modified":"2026-07-13T16:42:40.951527069Z","packages":[{"ecosystem":"PyPI","name":"opencv-python","purl":"pkg:pypi/opencv-python","ranges":["<3.3.1.11"],"fixed":["3.3.1.11"]}]},{"id":"PYSEC-2026-699","url":"https://osv.dev/vulnerability/PYSEC-2026-699","summary":"Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV","modified":"2026-07-13T16:42:40.951527069Z","packages":[{"ecosystem":"PyPI","name":"opencv-contrib-python","purl":"pkg:pypi/opencv-contrib-python","ranges":["<3.3.1.11"],"fixed":["3.3.1.11"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}