Skip to content
OpenAdvisories
Unscored CVE-2019-12214 EUVD-2019-3859GHSA-4fj8-c7x8-6q88

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 …

Published May 20, 2019 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 freeimage No fix yet —
Debian 12 freeimage No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 freeimage No fix yet —
Ubuntu 26.04 LTS freeimage No fix yet —
Ubuntu 25.10 freeimage No fix yet —
Ubuntu 24.04 LTS freeimage No fix yet —
Ubuntu 22.04 LTS freeimage No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS freeimage No fix yet —
Ubuntu Pro 18.04 LTS freeimage No fix yet —
Ubuntu Pro 16.04 LTS freeimage No fix yet —
Ubuntu Pro 14.04 LTS freeimage No fix yet —

References