{"id":"CVE-2017-12597","published":"2017-08-07T01:00:00Z","modified":"2024-08-05T18:43:55Z","title":"OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds write error in the function…","vendor":null,"product":null,"tier":"tail","description":{"text":"OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds write error in the function FillColorRow1 in utils.cpp when reading an image file by using cv::imread.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01986,"percentile":0.81096,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://security.gentoo.org/glsa/201712-02","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://github.com/xiaoqx/pocs/blob/master/opencv.md","tags":["x_refsource_MISC"]},{"url":"https://github.com/opencv/opencv/issues/9309","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":21.2,"factors":[{"name":"EPSS percentile","points":16.22},{"name":"Public exploit code","points":5.0}]},"affected":[{"ecosystem":"PyPI","package":"opencv-python","vulnerableRanges":["<3.3.1.11"],"patched":["3.3.1.11"],"from":["GHSA-8w3x-457r-wg53","PYSEC-2026-2813"],"provenance":"source"},{"ecosystem":"PyPI","package":"opencv-contrib-python","vulnerableRanges":["<3.3.1.11"],"patched":["3.3.1.11"],"from":["GHSA-8w3x-457r-wg53","PYSEC-2026-704"],"provenance":"source"}],"summary":{"text":"The flaw is an out-of-bounds write in the FillColorRow1 function in utils.cpp, part of the OpenCV (Open Source Computer Vision Library) codebase through version 3.3. It is triggered when an image file is read using cv::imread. An attacker can cause memory to be written outside the intended bounds by supplying a crafted image file that the application loads through cv::imread.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:56Z"},"euvd":{"id":"EUVD-2021-2179","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/xiaoqx/pocs/blob/master/opencv.md"],"lineage":{"familyId":"fam-opencv-python-cve-2017-12597","children":[{"from":"CVE-2017-12597","to":"CVE-2017-14136","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"NOTE: this vulnerability exists because of an incomplete fix for CVE-2017-12597.","from":"CVE.org","in":"CVE-2017-14136"},{"kind":"similar","provenance":"machine","score":0.96,"basis":"same package + description similarity"}]}]}}