Skip to content
This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page. View CVE-2026-32814 →
Unrated

Vulnerability in libheif

UBUNTU-CVE-2026-32814 First seen on SecPulse

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as UBUNTU-CVE-2026-32814 has been found in libheif.
Confidential information can be exposed externally.
What to do: upgrade libheif to 1.6.1-1ubuntu0.1~esm3 or later.
If unsure, ask your IT team or search "libheif UBUNTU-CVE-2026-32814" on the vendor's site.

UBUNTU-CVE-2026-32814 (libheif)
Attack vector: remote (network-reachable) / unauthenticated
Patched: 1.6.1-1ubuntu0.1~esm3 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

What is the problem

A vulnerability (unclassified) exists in libheif.

Affected scope

Check the vendor advisory for the affected versions of libheif.

Severity

Severity: ?. Confidential information can be exposed externally.

How to fix

Update to 1.6.1-1ubuntu0.1~esm3.

Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'libheif' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposureidentify
    grep -r 'libheif' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で libheif を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patchpatch
    Upgrade libheif to 1.6.1-1ubuntu0.1~esm3

    ステージング環境で 1.6.1-1ubuntu0.1~esm3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
Ubuntu:Pro:18.04:LTSlibheif
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlibheif
< 1.6.1-1ubuntu0.1~esm3→ 1.6.1-1ubuntu0.1~esm3
Ubuntu:Pro:22.04:LTSlibheif
< 1.12.0-2ubuntu0.1~esm3→ 1.12.0-2ubuntu0.1~esm3
Ubuntu:24.04:LTSlibheif
< 1.17.6-1ubuntu4.4→ 1.17.6-1ubuntu4.4
Ubuntu:25.10libheif
< 1.20.2-1ubuntu0.4→ 1.20.2-1ubuntu0.4
Ubuntu:26.04:LTSlibheif
< 1.21.2-3ubuntu0.1→ 1.21.2-3ubuntu0.1
Original description The description as published by the source.

libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and prior, when decoding a HEIF grid image with strict_decoding=false (the default), a corrupted tile silently fails to decode and the library returns heif_error_Ok with no indication of failure, leading to an uninitialized heap memory information leak. The canvas is allocated via create_clone_image_at_new_size() → plane.alloc() → new (std::nothrow) uint8_t[allocation_size] which does not zero the memory; only the alpha plane is explicitly initialized via fill_plane(), so the Y, Cb, and Cr planes contain whatever was previously at that heap address. The failed tile's region of the canvas is never written. It retains uninitialized heap data that is delivered to the caller as decoded pixel values (4,096 bytes per Y/Cb/Cr plane = 12,288+ bytes total). Any application using libheif to decode grid-based HEIF/AVIF files with default settings is vulnerable: a crafted .heic or .avif file causes 4,096+ bytes of heap memory to appear as pixel values in the decoded image, and the calling application receives heif_error_Ok, so it has no indication the output contains heap garbage. In server-side image processing, an uploaded crafted HEIF decoded and re-encoded (e.g., as PNG/JPEG for thumbnails, CDN, social media) can leak cross-user data such as auth tokens, database results, and other users' image data. This issue has been fixed in version 1.22.0.

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details