Use-after-free - CVE-2019-11471
Published: April 23, 2019 / Updated: August 3, 2020
Vulnerability identifier: #VU33031
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-2019-11471
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
libheif 1.4.0 has a use-after-free in heif::HeifContext::Image::set_alpha_channel in heif_context.h because heif_context.cc mishandles references to non-existing alpha images.
Affected software
libheif (Alpine package)
libreoffice (Alpine package)
heif-gdk-pixbuf (Ubuntu package)
libheif-dev (Ubuntu package)
libheif1 (Ubuntu package)
libheif-plugin-libde265 (Ubuntu package)
Ubuntu
libreoffice (Alpine package)
heif-gdk-pixbuf (Ubuntu package)
libheif-dev (Ubuntu package)
libheif1 (Ubuntu package)
libheif-plugin-libde265 (Ubuntu package)
Ubuntu
How to mitigate CVE-2019-11471
Install update from vendor's website.
libheif (Alpine package) - update to 1.5.0-r0
libreoffice (Alpine package) - update to 6.2.6.2-r0
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
libreoffice (Alpine package) - update to 6.2.6.2-r0
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