Use After Free Affecting libheif package, versions <1.4.0-2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.29% (52nd 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-UBUNTU2004-LIBHEIF-578922
  • published23 Apr 2019
  • disclosed23 Apr 2019

Introduced: 23 Apr 2019

CVE-2019-11471  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 libheif to version 1.4.0-2 or higher.

NVD Description

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

libheif 1.4.0 has a use-after-free in heif::HeifContext::Image::set_alpha_channel in heif_context.h because heif_context.cc mishandles references to non-existing alpha images.