CVE-2019-12214

Name
CVE-2019-12214
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Exploit https://sourceforge.net/p/freeimage/discussion/36111/thread/e06734bed5/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:freeimage_project:freeimage:3.18.0:*:*:*:*:*:*:* freeimage == None == 3.18.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
freeimage 3.14-community 3.18.0-r2 Taner Tas <taner76@gmail.com> possibly vulnerable
freeimage 3.15-community 3.18.0-r2 Taner Tas <taner76@gmail.com> possibly vulnerable
freeimage 3.16-community 3.18.0-r2 Taner Tas <taner76@gmail.com> possibly vulnerable
freeimage 3.17-community 3.18.0-r3 Taner Tas <taner76@gmail.com> possibly vulnerable
freeimage edge-community 3.18.0-r4 Taner Tas <taner76@gmail.com> possibly vulnerable
freeimage 3.18-community 3.18.0-r4 Taner Tas <taner76@gmail.com> possibly vulnerable
freeimage 3.19-community 3.18.0-r4 Taner Tas <taner76@gmail.com> possibly vulnerable
freeimage 3.20-community 3.18.0-r4 Taner Tas <taner76@gmail.com> possibly vulnerable