Out-of-bounds Read Affecting freeimage package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.13% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2204-FREEIMAGE-2794767
  • published20 May 2019
  • disclosed20 May 2019

Introduced: 20 May 2019

CVE-2019-12214  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:22.04 freeimage.

NVD Description

Note: Versions mentioned in the description apply only to the upstream freeimage package and not the freeimage package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

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.