{"id":"CVE-2017-12604","published":"2017-08-07T01:00:00Z","modified":"2024-08-05T18:43:56Z","title":"OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds write error in the FillUniColor 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 FillUniColor function 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.81097,"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-c7gp-2pch-qh2v","PYSEC-2026-2815"],"provenance":"source"},{"ecosystem":"PyPI","package":"opencv-contrib-python","vulnerableRanges":["<3.3.1.11"],"patched":["3.3.1.11"],"from":["GHSA-c7gp-2pch-qh2v","PYSEC-2026-706"],"provenance":"source"}],"summary":{"text":"The flaw is an out-of-bounds write in the FillUniColor function in utils.cpp, part of the OpenCV (Open Source Computer Vision Library) product, through version 3.3. An attacker who can supply an image file that the application reads with cv::imread may trigger the out-of-bounds write.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:56Z"},"euvd":{"id":"EUVD-2021-2188","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/xiaoqx/pocs/blob/master/opencv.md"]}