CVE-2026-47714

EUVD-2026-46434
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
6.1 MEDIUM
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: Unknown
Debian logo
Debian Releases
Debian Product
Codename
libheif
bookworm
vulnerable
bookworm (security)
vulnerable
bullseye
vulnerable
bullseye (security)
vulnerable
forky
vulnerable
sid
1.23.1-1
fixed
trixie
vulnerable
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libheif
bionic
not-affected
focal
not-affected
jammy
not-affected
noble
Fixed 1.17.6-1ubuntu4.6
released
questing
Fixed 1.20.2-1ubuntu0.6
released
resolute
Fixed 1.21.2-3ubuntu0.3
released
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
libheif-aom
suse enterprise desktop 15 SP7
1.23.0-150700.3.15.1
fixed
suse enterprise sap 15 SP7
1.23.0-150700.3.15.1
fixed
suse enterprise server 15 SP7
1.23.0-150700.3.15.1
fixed
libheif-dav1d
suse enterprise desktop 15 SP7
1.23.0-150700.3.15.1
fixed
suse enterprise sap 15 SP7
1.23.0-150700.3.15.1
fixed
suse enterprise server 15 SP7
1.23.0-150700.3.15.1
fixed
libheif-jpeg
suse enterprise desktop 15 SP7
1.23.0-150700.3.15.1
fixed
suse enterprise sap 15 SP7
1.23.0-150700.3.15.1
fixed
suse enterprise server 15 SP7
1.23.0-150700.3.15.1
fixed
libheif-rav1e
suse enterprise desktop 15 SP7
1.23.0-150700.3.15.1
fixed
suse enterprise sap 15 SP7
1.23.0-150700.3.15.1
fixed
suse enterprise server 15 SP7
1.23.0-150700.3.15.1
fixed
libheif1
suse enterprise desktop 15 SP7
1.23.0-150700.3.15.1
fixed
suse enterprise sap 15 SP7
1.23.0-150700.3.15.1
fixed
suse enterprise server 15 SP7
1.23.0-150700.3.15.1
fixed
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
heif-pixbuf-loader
Amazon Linux 2023
0:1.19.8-1.amzn2023.0.7
fixed
heif-pixbuf-loader-debuginfo
Amazon Linux 2023
0:1.19.8-1.amzn2023.0.7
fixed
libheif
Amazon Linux 2023
0:1.19.8-1.amzn2023.0.7
fixed
libheif-debuginfo
Amazon Linux 2023
0:1.19.8-1.amzn2023.0.7
fixed
libheif-debugsource
Amazon Linux 2023
0:1.19.8-1.amzn2023.0.7
fixed
libheif-devel
Amazon Linux 2023
0:1.19.8-1.amzn2023.0.7
fixed
libheif-tools
Amazon Linux 2023
0:1.19.8-1.amzn2023.0.7
fixed
libheif-tools-debuginfo
Amazon Linux 2023
0:1.19.8-1.amzn2023.0.7
fixed