CVE-2026-47247

Publication date 21 July 2026

Last updated 7 August 2026


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

Description

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
libheif 26.04 LTS resolute
Fixed 1.21.2-3ubuntu0.1
25.10 questing
Fixed 1.20.2-1ubuntu0.4
24.04 LTS noble
Fixed 1.17.6-1ubuntu4.4
22.04 LTS jammy
Fixed 1.12.0-2ubuntu0.1~esm3
20.04 LTS focal
Fixed 1.6.1-1ubuntu0.1~esm3
18.04 LTS bionic
Not affected

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Notes


kkernick

This vulnerability shares the same fix as CVE-2026-32814.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
libheif

Severity score breakdown

CVSS version: CVSS v3.0

Base score 7.5 · High

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N


Access our resources on patching vulnerabilities