Advisory

UBUNTU-CVE-2026-32740

Also known as: CVE-2026-32740

Summary

The record has no summary.

Details

libheif is a HEIF and AVIF file format decoder and encoder. Versions 1.21.2 and prior contain a heap-buffer-overflow (write) vulnerability in the grid tile compositing, allowing an attacker to write 64 bytes of fully attacker-controlled data past the end of a chroma plane heap allocation by crafting a HEIF/AVIF file with a 1×4 grid of odd-height tiles. The overflow is triggered during normal image decoding with default build configuration. The written bytes are chroma (Cb/Cr) pixel values from the attacking tile, giving the attacker full control over the overflow content. This issue has been fixed in version 1.22.0.

Severity

High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2026-05-19 20:16 UTC
Modified
2026-06-30 18:17 UTC

Affected packages and fixes

libheif

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 1.20.2-1ubuntu0.4 (ecosystem)

Fixed versions

1.20.2-1ubuntu0.4

Fix

  • Fixed version 1.20.2-1ubuntu0.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libheif

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 1.21.2-3ubuntu0.1 (ecosystem)

Fixed versions

1.21.2-3ubuntu0.1

Fix

  • Fixed version 1.21.2-3ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences