Integer overflow in OpenCV - CVE-2017-1000450
Published: May 31, 2018
Vulnerability identifier: #VU13113
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-1000450
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to cause DoS condition or execute arbitrary code on the target system.
The weakness exists due to integer overflow in opencv/modules/imgcodecs/src/utils.cpp when functions FillUniColor and FillUniGray do not check the input length. A remote attacker can supply specially crafted image, trigger memory corruption and cause the service to crash or execute arbitrary code with elevated privileges.
Successful exploitation of the vulnerability may result in system compromise.
Successful exploitation of the vulnerability may result in system compromise.
Affected software
OpenCV
Fedora
openSUSE Leap
opencv
Fedora
openSUSE Leap
opencv
How to mitigate CVE-2017-1000450
Install update from vendor's website.
opencv - addressed in versions 3.2.0-15.fc26, 3.2.0-15.fc27