Advisory

UBUNTU-CVE-2026-49271

Also known as: CVE-2026-49271

Summary

The record has no summary.

Details

libheif is a HEIF and AVIF file format decoder and encoder. Prior to version 1.22.1, the uncompressed HEIF decoder validates explicit icef compressed-unit offsets using unit_offset + unit_size. Because the addition can wrap, a crafted HEIF file can pass the range check and then construct a vector from iterators outside the compressed item buffer, producing an out-of-bounds heap read and crash. Version 1.22.1 patches the issue.

Severity

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

Dates

Published
2026-06-19 18:16 UTC
Modified
2026-06-29 23:15 UTC

Affected packages and fixes

libheif

Debian packages (deb) · Ubuntu 26.04

Affected

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

Fixed versions

1.21.2-3ubuntu0.2

Fix

  • Fixed version 1.21.2-3ubuntu0.2
    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