NULL pointer dereference in libheif - CVE-2026-47709
Published: May 20, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to a null pointer dereference in heif_image_handle_get_image_tiling() when processing a malformed uncompressed HEIF image item missing the ispe property. A remote attacker can supply a specially crafted HEIF file to cause a denial of service.
The issue is reachable through the public C API and may trigger an assertion in debug builds.
Affected software
Debian Linux
Gentoo Linux
Fedora
Ubuntu
heif-gdk-pixbuf (Ubuntu package)
heif-thumbnailer (Ubuntu package)
libheif-dev (Ubuntu package)
libheif1 (Ubuntu package)
libheif-plugin-svtenc (Ubuntu package)
libheif-plugin-x265 (Ubuntu package)
libheif-plugin-aomdec (Ubuntu package)
libheif-plugin-rav1e (Ubuntu package)
libheif-plugin-libde265 (Ubuntu package)
libheif-plugin-aomenc (Ubuntu package)
libheif-plugin-dav1d (Ubuntu package)
libheif-plugin-j2kdec (Ubuntu package)
libheif-plugin-jpegenc (Ubuntu package)
libheif-plugin-ffmpegdec (Ubuntu package)
libheif-plugin-jpegdec (Ubuntu package)
libheif-plugin-j2kenc (Ubuntu package)
libheif-examples (Ubuntu package)
libheif-plugin-kvazaar (Ubuntu package)
libheif-plugins-all (Ubuntu package)
heif-view (Ubuntu package)
libheif
aom
media-libs/libheif
libheif (Debian package)
How to mitigate CVE-2026-47709
heif-gdk-pixbuf (Ubuntu package) - addressed in versions 1.17.6-1ubuntu4.6, 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
heif-thumbnailer (Ubuntu package) - addressed in versions 1.17.6-1ubuntu4.6, 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-dev (Ubuntu package) - addressed in versions 1.17.6-1ubuntu4.6, 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif1 (Ubuntu package) - addressed in versions 1.17.6-1ubuntu4.6, 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-svtenc (Ubuntu package) - addressed in versions 1.17.6-1ubuntu4.6, 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-x265 (Ubuntu package) - addressed in versions 1.17.6-1ubuntu4.6, 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-aomdec (Ubuntu package) - addressed in versions 1.17.6-1ubuntu4.6, 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-rav1e (Ubuntu package) - addressed in versions 1.17.6-1ubuntu4.6, 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-libde265 (Ubuntu package) - addressed in versions 1.17.6-1ubuntu4.6, 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-aomenc (Ubuntu package) - addressed in versions 1.17.6-1ubuntu4.6, 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-dav1d (Ubuntu package) - addressed in versions 1.17.6-1ubuntu4.6, 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-j2kdec (Ubuntu package) - addressed in versions 1.17.6-1ubuntu4.6, 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-jpegenc (Ubuntu package) - addressed in versions 1.17.6-1ubuntu4.6, 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-ffmpegdec (Ubuntu package) - addressed in versions 1.17.6-1ubuntu4.6, 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-jpegdec (Ubuntu package) - addressed in versions 1.17.6-1ubuntu4.6, 1.20.2-1ubuntu0.6, 1.21.2-3ubuntu0.3
libheif-plugin-j2kenc (Ubuntu package) - addressed in versions 1.17.6-1ubuntu4.6, 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-kvazaar (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