Buffer overflow in OpenJPEG - CVE-2017-12982

 

Buffer overflow in OpenJPEG - CVE-2017-12982

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


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

Detailed vulnerability description

The vulnerability allows a local non-authenticated attacker to perform a denial of service (DoS) attack.

The bmp_read_info_header function in bin/jp2/convertbmp.c in OpenJPEG 2.2.0 does not reject headers with a zero biBitCount, which allows remote attackers to cause a denial of service (memory allocation failure) in the opj_image_create function in lib/openjp2/image.c, related to the opj_aligned_alloc_n function in opj_malloc.c.


How to mitigate CVE-2017-12982

Install update from vendor's website.

Sources