#VU13114 Buffer overflow in OpenCV - CVE-2017-17760


Vulnerability identifier: #VU13114

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-17760

CWE-ID: CWE-120

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 buffer overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp when an incorrect size value is used. 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.3.1


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


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