Assertion failure in OpenCV - CVE-2018-5269

 

Assertion failure in OpenCV - CVE-2018-5269

Published: May 31, 2018


Vulnerability identifier: #VU13117
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-5269
CWE-ID: CWE-617
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 assertion failure in cv::RBaseStream::setPos in modules/imgcodecs/src/bitstrm.cpp when incorrect integer cast. A remote attacker can supply specially crafted image and cause the service to crash.

How to mitigate CVE-2018-5269

Install update from vendor's website.

Sources