Vulnerability Details CVE-2026-47714
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.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.001
EPSS Ranking 1.3%
CVSS Severity
CVSS v3 Score 6.1
Products affected by CVE-2026-47714
-
cpe:2.3:a:struktur:libheif:1.0.0
-
cpe:2.3:a:struktur:libheif:1.1.0
-
cpe:2.3:a:struktur:libheif:1.10.0
-
cpe:2.3:a:struktur:libheif:1.11.0
-
cpe:2.3:a:struktur:libheif:1.12.0
-
cpe:2.3:a:struktur:libheif:1.13.0
-
cpe:2.3:a:struktur:libheif:1.14.0
-
cpe:2.3:a:struktur:libheif:1.14.1
-
cpe:2.3:a:struktur:libheif:1.14.2
-
cpe:2.3:a:struktur:libheif:1.15.0
-
cpe:2.3:a:struktur:libheif:1.15.1
-
cpe:2.3:a:struktur:libheif:1.15.2
-
cpe:2.3:a:struktur:libheif:1.16.0
-
cpe:2.3:a:struktur:libheif:1.16.1
-
cpe:2.3:a:struktur:libheif:1.16.2
-
cpe:2.3:a:struktur:libheif:1.17.0
-
cpe:2.3:a:struktur:libheif:1.17.1
-
cpe:2.3:a:struktur:libheif:1.17.2
-
cpe:2.3:a:struktur:libheif:1.17.3
-
cpe:2.3:a:struktur:libheif:1.17.4
-
cpe:2.3:a:struktur:libheif:1.17.5
-
cpe:2.3:a:struktur:libheif:1.17.6
-
cpe:2.3:a:struktur:libheif:1.18.0
-
cpe:2.3:a:struktur:libheif:1.18.1
-
cpe:2.3:a:struktur:libheif:1.18.2
-
cpe:2.3:a:struktur:libheif:1.19.0
-
cpe:2.3:a:struktur:libheif:1.19.1
-
cpe:2.3:a:struktur:libheif:1.19.2
-
cpe:2.3:a:struktur:libheif:1.19.3
-
cpe:2.3:a:struktur:libheif:1.19.4
-
cpe:2.3:a:struktur:libheif:1.19.5
-
cpe:2.3:a:struktur:libheif:1.19.6
-
cpe:2.3:a:struktur:libheif:1.19.7
-
cpe:2.3:a:struktur:libheif:1.19.8
-
cpe:2.3:a:struktur:libheif:1.2.0
-
cpe:2.3:a:struktur:libheif:1.20.0
-
cpe:2.3:a:struktur:libheif:1.20.1
-
cpe:2.3:a:struktur:libheif:1.20.2
-
cpe:2.3:a:struktur:libheif:1.21.0
-
cpe:2.3:a:struktur:libheif:1.21.1
-
cpe:2.3:a:struktur:libheif:1.21.2
-
cpe:2.3:a:struktur:libheif:1.3.0
-
cpe:2.3:a:struktur:libheif:1.3.1
-
cpe:2.3:a:struktur:libheif:1.3.2
-
cpe:2.3:a:struktur:libheif:1.4.0
-
cpe:2.3:a:struktur:libheif:1.5.0
-
cpe:2.3:a:struktur:libheif:1.5.1
-
cpe:2.3:a:struktur:libheif:1.6.0
-
cpe:2.3:a:struktur:libheif:1.6.1
-
cpe:2.3:a:struktur:libheif:1.6.2
-
cpe:2.3:a:struktur:libheif:1.8.0
-
cpe:2.3:a:struktur:libheif:1.9.0
-
cpe:2.3:a:struktur:libheif:1.9.1