Description
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.
References (1)
Core 1
Core References
Exploit, Third Party Advisory x_refsource_misc
https://sourceforge.net/p/freeimage/discussion/36111/thread/e06734bed5/
Scores
CVSS v3
7.5
EPSS
0.0033
EPSS Percentile
56.3%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-125
Status
published
Products (1)
freeimage_project/freeimage
3.18.0
Published
May 20, 2019
Tracked Since
Feb 18, 2026