Advisory

UBUNTU-CVE-2026-47714

Also known as: CVE-2026-47714

Summary

The record has no summary.

Details

libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and prior, the inline mask parsing code in libheif/region.cc contains an integer overflow. Both width and height are unsigned int (32-bit) values parsed from the HEIF file. Their product can exceed UINT32_MAX, wrapping to a small value before the division by 8. This causes an undersized buffer allocation, leading to out-of-bounds memory access when the mask data is later interpreted as a width x height bitmap. Version 1.22.0 patches the issue.

Severity

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

Dates

Published
2026-07-02 00:00 UTC
Modified
2026-07-29 10:16 UTC

Affected packages and fixes

libheif

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.17.6-1ubuntu4.6 (ecosystem)

Fixed versions

1.17.6-1ubuntu4.6

Fix

  • Fixed version 1.17.6-1ubuntu4.6
    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 25.10

Affected

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

Fixed versions

1.20.2-1ubuntu0.6

Fix

  • Fixed version 1.20.2-1ubuntu0.6
    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.3 (ecosystem)

Fixed versions

1.21.2-3ubuntu0.3

Fix

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