#VU13113 Integer overflow in OpenCV - CVE-2017-1000450


Vulnerability identifier: #VU13113

Vulnerability risk: High

CVSSv4.0: 8.1 [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/E:U/U:Amber]

CVE-ID: CVE-2017-1000450

CWE-ID: CWE-190

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
OpenCV
Universal components / Libraries / Libraries used by multiple products

Vendor: Itseez

Description
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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

OpenCV: 3.0.0


External links
https://github.com/opencv/opencv/issues/9723


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability