Buffer overflow in OpenJPEG - CVE-2017-14164

 

Buffer overflow in OpenJPEG - CVE-2017-14164

Published: September 6, 2017 / Updated: August 3, 2020


Vulnerability identifier: #VU33229
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:U/U:Amber
CVE-ID: CVE-2017-14164
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: openjpeg.org
Affected software:
OpenJPEG

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

A size-validation issue was discovered in opj_j2k_write_sot in lib/openjp2/j2k.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service (heap-based buffer overflow affecting opj_write_bytes_LE in lib/openjp2/cio.c) or possibly remote code execution. NOTE: this vulnerability exists because of an incomplete fix for CVE-2017-14152.


How to mitigate CVE-2017-14164

Install update from vendor's website.

Sources