Buffer overflow in OpenJPEG - CVE-2018-7648

 

Buffer overflow in OpenJPEG - CVE-2018-7648

Published: March 26, 2018


Vulnerability identifier: #VU11273
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2018-7648
CWE-ID: CWE-120
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: openjpeg.org
Affected software:
OpenJPEG

Detailed vulnerability description

The vulnerability allows a local attacker to cause DoS condition on the target system.

The weakness exists in the mj2/opj_mj2_extract.c source code file due to insufficient length checks of output prefixes. A local attacker can send a specially crafted prefix, which contains 50 or more characters via the command line, trigger buffer overflow condition and cause the service to crash.

How to mitigate CVE-2018-7648

Install update from vendor's website.

Sources