Out-of-bounds write in OpenJPEG - CVE-2017-14039

 

Out-of-bounds write in OpenJPEG - CVE-2017-14039

Published: August 31, 2017 / Updated: August 3, 2020


Vulnerability identifier: #VU33224
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-14039
CWE-ID: CWE-787
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 heap-based buffer overflow was discovered in the opj_t2_encode_packet function in lib/openjp2/t2.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly unspecified other impact.


How to mitigate CVE-2017-14039

Install update from vendor's website.

Sources