NULL pointer dereference in libheif - CVE-2023-49460

 

NULL pointer dereference in libheif - CVE-2023-49460

Published: December 20, 2023


Vulnerability identifier: #VU84613
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-49460
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error within the UncompressedImageCodec::decode_uncompressed_image() function. A remote attacker can trick the victim to open a specially crafted media file and perform a denial of service (DoS) attack.


Affected software

libheif
Ubuntu
Fedora
heif-gdk-pixbuf (Ubuntu package)
libheif-dev (Ubuntu package)
libheif1 (Ubuntu package)
libheif-plugin-libde265 (Ubuntu package)
libheif

How to mitigate CVE-2023-49460

Install updates from vendor's website.

libheif - update to 1.17.6
heif-gdk-pixbuf (Ubuntu package) - addressed in versions Ubuntu Pro, 1.16.2-2ubuntu1.1
libheif-dev (Ubuntu package) - addressed in versions Ubuntu Pro, 1.16.2-2ubuntu1.1
libheif1 (Ubuntu package) - addressed in versions Ubuntu Pro, 1.16.2-2ubuntu1.1
libheif-plugin-libde265 (Ubuntu package) - update to 1.16.2-2ubuntu1.1
libheif - update to 1.17.5-1.fc40

External References

Related Security Bulletins