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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 947478 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
freeimage (PTS) | jessie, jessie (lts) | 3.15.4-4.2+deb8u2 | vulnerable |
| stretch (security) | 3.17.0+ds1-5+deb9u1 | vulnerable |
| stretch (lts), stretch | 3.17.0+ds1-5+deb9u2 | vulnerable |
| buster (security), buster, buster (lts) | 3.18.0+ds2-1+deb10u2 | vulnerable |
| bullseye (security), bullseye | 3.18.0+ds2-6+deb11u1 | vulnerable |
| bookworm (security), bookworm | 3.18.0+ds2-9+deb12u1 | vulnerable |
| sid, trixie | 3.18.0+ds2-11 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
freeimage | source | (unstable) | (unfixed) | | | 947478 |
Notes
[bookworm] - freeimage <postponed> (Revisit when upstream fixes are available)
[bullseye] - freeimage <postponed> (Revisit when upstream fixes are available)
[buster] - freeimage <postponed> (Revisit when upstream fixes are available)
[stretch] - freeimage <postponed> (Revisit when upstream fixes are available)
[jessie] - freeimage <postponed> (Revisit when upstream fixes are available)
https://sourceforge.net/p/freeimage/discussion/36111/thread/e06734bed5/
very few information regarding this vulnerability, which is seemingly located
in libopenjpeg, not freeimage. Without reproducer or stacktrace, this is
nearly unfixable.