Out-of-bounds Read in Freeimage Project

CVE-2019-12214

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.

Vulnerability class: Buffer Overflow

EPSS: 0.015 (71.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2019-12214?
CVE-2019-12214 is a high-severity vulnerability in Freeimage Project, classified under Out-of-bounds Read. CVSS score: 7.5/10. Published 2019-05-20.
How severe is CVE-2019-12214?
High severity. CVSS v3 base score is 7.5 out of 10.