Heap-based buffer overflow in OpenCV - CVE-2018-5268

 

Heap-based buffer overflow in OpenCV - CVE-2018-5268

Published: May 31, 2018


Vulnerability identifier: #VU13116
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2018-5268
CWE-ID: CWE-122
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 cause DoS condition on the target system.

The weakness exists due to heap-based buffer overflow in cv::Jpeg2KDecoder::readComponent8u in modules/imgcodecs/src/grfmt_jpeg2000.cpp when parsing malicious input. A remote attacker can supply specially crafted image, trigger memory corruption and cause the service to crash.

How to mitigate CVE-2018-5268

Install update from vendor's website.

Sources