Out-of-bounds read in FreeImage - CVE-2019-12214

 

Out-of-bounds read in FreeImage - CVE-2019-12214

Published: May 26, 2019 / Updated: August 29, 2023


Vulnerability identifier: #VU18604
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2019-12214
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: FreeImage
Affected software:
FreeImage

Detailed vulnerability description

The vulnerability allows a remote attacker to perform denial of service attack.

The vulnerability exists due to a boundary condition when processing OpenJPEG files in the j2k_read_ppm_v3() function in j2k.c. A remote attacker can create a specially crafted image file, pass it to the affected application, trigger out-of-bounds read error and read contents of memory on the system.


How to mitigate CVE-2019-12214

Install update from vendor's SVN.

Sources