CVE-2026-47714: struktur libheif Integer Overflow or Wraparound
Vulnerability summary
CVE-2026-47714 is a medium (CVSS 6.1) Integer Overflow or Wraparound vulnerability in struktur libheif. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 4% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 4 · Related 6Timeline
- 21-07-2026PublishedVulnerability first disclosed.
- 22-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- NVDNIST6.1MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
EPSS trend
Probability
0.15%
Chance of exploitation in the next 30 days
Percentile
4%
Versus all other CVEs
30-day change
+0.05 pp
From 0.11% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian1 product
- libheifAll versions (No fix recorded) | < 1.19.8-1+deb13u1 | < 1.23.1-1
Struktur1 product
- libheif< 1.22.0
Strukturag1 product
- libheif< 1.22.0
Ubuntu1 product
- libheif< 1.17.6-1ubuntu4.6 | < 1.20.2-1ubuntu0.6 | < 1.21.2-3ubuntu0.3
4 vendors · 4 products
References
6 links- github.com/strukturag/libheif/security/advisories/GHSA-h4wm-6wwf-qvhxX Refsource CONFIRMREPORTMitigationVendor Advisory