Out-of-Bounds Access in FreeImage 3.18.0 due to Mishandling of OpenJPEG j2k_read_ppm_v3 Function

Out-of-Bounds Access in FreeImage 3.18.0 due to Mishandling of OpenJPEG j2k_read_ppm_v3 Function

CVE-2019-12214 · MEDIUM Severity

AV:N/AC:L/AU:N/C:N/I:N/A:P

In FreeImage 3.18.0, an out-of-bounds access occurs because of mishandling of the OpenJPEG j2k_read_ppm_v3 function in j2k.c. The value of l_N_ppm comes from the file read in, and the code does not consider that l_N_ppm may be greater than the size of p_header_data.

Learn more about our Web Application Penetration Testing UK.