CVE-2017-1000450

NameCVE-2017-1000450
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1235-1, DLA-1438-1, DLA-2799-1
Debian Bugs886282

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
opencv (PTS)bullseye4.5.1+dfsg-5fixed
bookworm4.6.0+dfsg-12fixed
sid, trixie4.6.0+dfsg-14fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
opencvsourceexperimental3.4.4+dfsg-1~exp1
opencvsourcewheezy2.3.1-11+deb7u3DLA-1235-1
opencvsourcejessie2.4.9.1+dfsg-1+deb8u2DLA-1438-1
opencvsourcestretch2.4.9.1+dfsg1-2+deb9u1DLA-2799-1
opencvsource(unstable)3.2.0+dfsg-6886282

Notes

https://github.com/opencv/opencv/issues/9723
https://github.com/blendin/pocs/blob/master/opencv/0.OOB_Write_FillUniColor
https://github.com/opencv/opencv/pull/9726

Search for package or bug name: Reporting problems