Information Exposure Affecting libheif package, versions <1.6.1-1ubuntu0.1~esm3


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.45% (37th 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-17809501
  • published8 Jul 2026
  • disclosed21 Jul 2026

Introduced: 8 Jul 2026

CVE-2026-47247  (opens in a new tab)
CWE-200  (opens in a new tab)
CWE-226  (opens in a new tab)
CWE-682  (opens in a new tab)
CWE-908  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 libheif to version 1.6.1-1ubuntu0.1~esm3 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 is a HEIF and AVIF file format decoder and encoder. Prior to version 1.22.0, two bugs in libheif chain to leak process heap memory as visible pixel values in decoded grid images. An attacker who uploads a crafted AVIF/HEIC file to any server-side image processor (WordPress, Sharp/libvips, ImageMagick, etc.) can recover heap data - including library function pointers sufficient to defeat ASLR, or any other secret - from the publicly-downloadable transcoded JPEG/PNG/WebP output. Local attack vectors are also possible. Version 1.22.0 fixes the issue.

CVSS Base Scores

version 3.1