CVE-2026-47714: libheif is a HEIF and AVIF file format decoder and encoder
Affects libheifSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium · fixed in 1.17.6-1ubuntu4.6 : update libheif when convenient.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.17.6-1ubuntu4.6, 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 21 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade the Ubuntu libheif to 1.17.6-1ubuntu4.6 (package) or 1.20.2-1ubuntu0.6 (package) or 1.21.2-3ubuntu0.3 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSlibheifpkg:deb/ubuntu/libheif?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 25.10libheifpkg:deb/ubuntu/libheif?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlibheifpkg:deb/ubuntu/libheif?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2026-47714 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-47714 (opens in a new tab)
- github.com/strukturag/libheif/security/advisories/GHSA-h4wm-6wwf-qvhx (opens in a new tab)
- ubuntu.com/security/notices/USN-8526-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8526-2 (opens in a new tab)