Integer overflow in Opencv
CVE-2017-1000450
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.033, 88.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Opencv
- Debian Linux — versions 7.0, 8.0, 9.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- [debian-lts-announce] 20180722 [SECURITY] [DLA 1438-1] opencv security update (mailing-list, Mailing List, Third Party Advisory)
- github.com/blendin/pocs/blob/master/opencv/0.OOB_Write_FillUniColor (Exploit, Third Party Advisory)
- [debian-lts-announce] 20180108 [SECURITY] [DLA 1235-1] opencv security update (mailing-list, Mailing List, Third Party Advisory)
- github.com/opencv/opencv/issues/9723 (Exploit, Third Party Advisory, Issue Tracking)
- [debian-lts-announce] 20211030 [SECURITY] [DLA 2799-1] opencv security update (mailing-list, Mailing List, Third Party Advisory)