{"id":"CVE-2017-1000450","published":"2018-01-02T17:00:00Z","modified":"2024-08-05T22:00:41Z","title":"In opencv/modules/imgcodecs/src/utils.cpp, functions FillUniColor and FillUniGray do not check the input length, which…","vendor":null,"product":null,"tier":"tail","description":{"text":"In opencv/modules/imgcodecs/src/utils.cpp, functions FillUniColor and FillUniGray do not check the input length, which can 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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03261,"percentile":0.88681,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://github.com/blendin/pocs/blob/master/opencv/0.OOB_Write_FillUniColor","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/01/msg00008.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://github.com/opencv/opencv/issues/9723","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":22.7,"factors":[{"name":"EPSS percentile","points":17.74},{"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-m43c-649m-pm48","PYSEC-2026-2825"],"provenance":"source"},{"ecosystem":"PyPI","package":"opencv-contrib-python","vulnerableRanges":["<3.3.1.11"],"patched":["3.3.1.11"],"from":["GHSA-m43c-649m-pm48","PYSEC-2026-712"],"provenance":"source"}],"summary":{"text":"The flaw lies in the FillUniColor and FillUniGray functions in opencv/modules/imgcodecs/src/utils.cpp, part of the OpenCV imgcodecs module, which do not check input length and can therefore suffer an integer overflow.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:14:05Z"},"euvd":{"id":"EUVD-2021-2221","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/blendin/pocs/blob/master/opencv/0.OOB_Write_FillUniColor"]}