{"id":"CVE-2019-12214","details":"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.","modified":"2026-03-14T09:32:00.212673Z","published":"2019-05-20T16:29:01.240Z","references":[{"type":"EVIDENCE","url":"https://sourceforge.net/p/freeimage/discussion/36111/thread/e06734bed5/"}],"affected":[{"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-12214.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"3.18.0"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}