USN-7952-1: libheif vulnerabilities

Publication date

12 January 2026

Overview

Several security issues were fixed in libheif.


Packages

  • libheif - An ISO/IEC 23008-12:2017 HEIF and AVIF file format decoder and encoder

Details

It was discovered that libheif did not correctly handle certain memory
operations. An attacker could possibly use this issue to cause a denial
of service. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS
and Ubuntu 24.04 LTS. (CVE-2024-25269)

Aldo Ristori discovered that libheif did not correctly handle certain
memory operations. An attacker could possibly use this issue to cause a
denial of service or execute arbitrary code. (CVE-2025-68431)

It was discovered that libheif did not correctly handle certain memory
operations. An attacker could possibly use this issue to cause a denial
of service. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS
and Ubuntu 24.04 LTS. (CVE-2024-25269)

Aldo Ristori discovered that libheif did not correctly handle certain
memory operations. An attacker could possibly use this issue to cause a
denial of service or execute arbitrary code. (CVE-2025-68431)

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
25.10 questing libheif1 –  1.20.2-1ubuntu0.1
25.04 plucky libheif1 –  1.19.7-1ubuntu0.1
24.04 LTS noble libheif1 –  1.17.6-1ubuntu4.2
22.04 LTS jammy libheif1 –  1.12.0-2ubuntu0.1~esm2  
20.04 LTS focal libheif1 –  1.6.1-1ubuntu0.1~esm2  
18.04 LTS bionic libheif1 –  1.1.0-2ubuntu0.1~esm2  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›