Buffer overflow in OpenCV - CVE-2019-5063

 

Buffer overflow in OpenCV - CVE-2019-5063

Published: January 3, 2020


Vulnerability identifier: #VU23899
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: CVE-2019-5063
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Itseez
Affected software:
OpenCV

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists in the "persistence_xml.cpp" file due to a boundary error in the data structure persistence functionality. A remote attacker can send a specially crafted XML file, trick the victim into opening it, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2019-5063

Install updates from vendor's website.

Sources