Out-of-bounds read in libheif - CVE-2026-48029
Published: May 20, 2026 / Updated: July 24, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service and disclose sensitive information.
The vulnerability exists due to out-of-bounds read in ImageItem_Grid::decode_grid_tile when parsing a crafted HEIF/HEIC file containing a grid-derived item with an irot rotation property. A remote attacker can send a specially crafted file to cause a denial of service and disclose sensitive information.
User interaction is required to open or decode the crafted file.
Affected software
Gentoo Linux
Debian Linux
Fedora
Ubuntu
libheif-dev (Ubuntu package)
libheif-examples (Ubuntu package)
libheif-plugin-aomdec (Ubuntu package)
libheif-plugin-aomenc (Ubuntu package)
libheif-plugin-dav1d (Ubuntu package)
libheif-plugin-ffmpegdec (Ubuntu package)
libheif-plugin-j2kdec (Ubuntu package)
libheif-plugin-j2kenc (Ubuntu package)
heif-gdk-pixbuf (Ubuntu package)
libheif-plugin-jpegdec (Ubuntu package)
libheif-plugin-jpegenc (Ubuntu package)
heif-thumbnailer (Ubuntu package)
libheif-plugin-kvazaar (Ubuntu package)
libheif-plugin-libde265 (Ubuntu package)
libheif-plugin-rav1e (Ubuntu package)
libheif-plugin-svtenc (Ubuntu package)
libheif1 (Ubuntu package)
libheif-plugin-x265 (Ubuntu package)
libheif-plugins-all (Ubuntu package)
heif-view (Ubuntu package)
libheif
aom
media-libs/libheif
libheif (Debian package)
How to mitigate CVE-2026-48029
libheif-dev (Ubuntu package) - addressed in versions 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-examples (Ubuntu package) - addressed in versions 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-aomdec (Ubuntu package) - addressed in versions 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-aomenc (Ubuntu package) - addressed in versions 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-dav1d (Ubuntu package) - addressed in versions 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-ffmpegdec (Ubuntu package) - addressed in versions 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-j2kdec (Ubuntu package) - addressed in versions 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-j2kenc (Ubuntu package) - addressed in versions 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
heif-gdk-pixbuf (Ubuntu package) - addressed in versions 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-jpegdec (Ubuntu package) - addressed in versions 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-jpegenc (Ubuntu package) - addressed in versions 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
heif-thumbnailer (Ubuntu package) - addressed in versions 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-kvazaar (Ubuntu package) - addressed in versions 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-libde265 (Ubuntu package) - addressed in versions 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-rav1e (Ubuntu package) - addressed in versions 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-svtenc (Ubuntu package) - addressed in versions 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif1 (Ubuntu package) - addressed in versions 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-x265 (Ubuntu package) - addressed in versions 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugins-all (Ubuntu package) - addressed in versions 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
heif-view (Ubuntu package) - addressed in versions 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif - addressed in versions 1.23.5-3.el10_3, 1.23.5-3.el10_4
aom - addressed in versions 3.13.3-1.el10_3, 3.13.3-1.el10_4
media-libs/libheif - update to 1.23.7
libheif (Debian package) - update to 1.19.8-1+deb13u1