Buffer overflow in libheif - CVE-2023-0996

 

Buffer overflow in libheif - CVE-2023-0996

Published: April 5, 2023


Vulnerability identifier: #VU74493
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-0996
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing ISO/IEC 23008-12:2017 HEIF and AVIF files. A remote attacker can trick the victim into opening a specially crafted image file, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

libheif
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
Desktop Applications Module
openSUSE Leap
Ubuntu
heif-gdk-pixbuf (Ubuntu package)
libheif-dev (Ubuntu package)
libheif1 (Ubuntu package)
libheif1
gdk-pixbuf-loader-libheif
libheif-debugsource
libheif1-debuginfo
libheif-devel
gdk-pixbuf-loader-libheif-debuginfo
libheif1-32bit
libheif1-32bit-debuginfo
libheif-plugin-libde265 (Ubuntu package)

How to mitigate CVE-2023-0996

Install updates from vendor's website.

libheif - update to 1.14.2
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
libheif1 - update to 1.12.0-150400.3.8.1
gdk-pixbuf-loader-libheif - update to 1.12.0-150400.3.8.1
libheif-debugsource - update to 1.12.0-150400.3.8.1
libheif1-debuginfo - update to 1.12.0-150400.3.8.1
libheif-devel - update to 1.12.0-150400.3.8.1
gdk-pixbuf-loader-libheif-debuginfo - update to 1.12.0-150400.3.8.1
libheif1-32bit - update to 1.12.0-150400.3.8.1
libheif1-32bit-debuginfo - update to 1.12.0-150400.3.8.1
libheif-plugin-libde265 (Ubuntu package) - update to 1.16.2-2ubuntu1.1

External References

Related Security Bulletins