# CVE-2026-47178: libheif has Heap Out Of Bounds Write in unci subsystem

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-21 · Modified: 2026-07-22
- Aliases: UBUNTU-CVE-2026-47178, DEBIAN-CVE-2026-47178
- Record: https://cvemate.com/vulnerability/CVE-2026-47178 · JSON: https://cvemate.com/vulnerability/CVE-2026-47178/json

## Description

```text
libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.19.0 through 1.21.2, a crafted HEIF file (uncompressed `unci` codec, tiled, component-interleaved, 4:2:0) triggers a heap out-of-bounds write in libheif's uncompressed tile decoder. The write overwrites the C++ vtable pointer of an adjacent `unc_decoder_component_interleave` object; the next virtual call dispatches to an attacker-chosen address. Version 1.22.0 patches the issue.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.208%, percentile 11.53%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian libheif (Debian): All versions (No fix recorded) \| \< 1.19.8-1+deb13u1 \| \< 1.23.1-1
- ubuntu libheif (Ubuntu): \< 1.20.2-1ubuntu0.5 \| \< 1.21.2-3ubuntu0.2
- struktur libheif: ≥ 1.19.0, \< 1.22.0
- strukturag libheif: ≥ 1.19.0, \< 1.22.0

## References

- <https://github.com/strukturag/libheif/security/advisories/GHSA-5x55-x5pf-9c6g>
- <https://ubuntu.com/security/CVE-2026-47178>
- <https://www.cve.org/CVERecord?id=CVE-2026-47178>
- <https://project-zero.issues.chromium.org/issues/507396184>
- <https://ubuntu.com/security/notices/USN-8479-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-47178>

---

Data as of 2026-12-05T09:38:57.517Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
