{"cve":"CVE-2017-12601","nvd":{"published":"2017-08-07T01:29:00.513","modified":"2026-06-17T01:03:36.040","status":"Modified","description":"OpenCV (Open Source Computer Vision Library) through 3.3 has a buffer overflow in the cv::BmpDecoder::readData function in modules/imgcodecs/src/grfmt_bmp.cpp when reading an image file by using cv::imread, as demonstrated by the 4-buf-overflow-readData-memcpy test case.","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-120"],"references":["https://github.com/opencv/opencv/issues/9309","https://github.com/xiaoqx/pocs/blob/master/opencv.md","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"],"products":["debian:debian_linux","opencv:opencv"],"source":"nvd","synced_at":"2026-10-19T20:44:47.710380879+00:00"},"epss":{"cve":"CVE-2017-12601","score":0.02088,"percentile":0.81597,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-w96g-3p64-63wr","url":"https://osv.dev/vulnerability/GHSA-w96g-3p64-63wr","summary":"Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV ","modified":"2026-09-10T03:46:45.329720231Z","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-2831","url":"https://osv.dev/vulnerability/PYSEC-2026-2831","summary":"Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV ","modified":"2026-07-13T16:43:09.008140548Z","packages":[{"ecosystem":"PyPI","name":"opencv-python","purl":"pkg:pypi/opencv-python","ranges":["<3.3.1.11"],"fixed":["3.3.1.11"]}]},{"id":"PYSEC-2026-716","url":"https://osv.dev/vulnerability/PYSEC-2026-716","summary":"Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV ","modified":"2026-07-13T16:43:09.008140548Z","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."]}