Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-47178: libheif is a HEIF and AVIF file format decoder and encoder

28
Routine
MEDIUM 6.1UPGRADE

CVE-2026-47178 is a medium-severity flaw (CVSS 6.1) affecting libheif. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 i

Why this priority

  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score6.1 (Medium)
Attack vectorLocal
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance0.2% (top 93%)
CISA exploited listNo
WeaknessCWE-787
Published2026-07-21
Last modified2026-10-24
Publisher (CNA): GitHub, Inc. · Vendor: struktur

Share: LinkedIn · X · Reddit

Last updated 2026-10-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

struktur libheif UPGRADE
Affected: >= 1.19.0 and < 1.22.0
Fixed in: 1.22.0
Safe to downgrade to: a release before 1.19.0
1. Check installed version
apt-cache policy libheif || rpm -q libheif || libheif --version
2. UPGRADE to 1.22.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade libheif
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade libheif
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 1.19.0 (Debian / Ubuntu)
apt-cache madison libheif sudo apt install libheif=<VERSION_BEFORE_1.19.0> sudo apt-mark hold libheif
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list libheif sudo dnf downgrade libheif-<VERSION_BEFORE_1.19.0> sudo dnf versionlock add libheif
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-47178?

libheif: upgrade to 1.22.0. Exact commands for each OS are on this page.

Is CVE-2026-47178 being exploited?

CVE-2026-47178 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-47178 affect?

CVE-2026-47178 affects libheif. Severity is medium (CVSS 6.1). 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 uncompresse

How urgent is CVE-2026-47178?

Priority 28/100. Public exploit reference

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.