Use of Uninitialized Variable in libwebp - CVE-2018-25014

 

Use of Uninitialized Variable in libwebp - CVE-2018-25014

Published: June 7, 2021


Vulnerability identifier: #VU53851
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-2018-25014
CWE-ID: CWE-457
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to usage of unitialized variable in the ReadSymbol() function in libwebp. A remote attacker can trick the victim to open a specially crated file and execute arbitrary code on the system.


Affected software

libwebp
libwebp (Debian package)
libwebpmux1 (Ubuntu package)
libwebpdemux1 (Ubuntu package)
libwebp5 (Ubuntu package)
libwebpdemux2 (Ubuntu package)
libwebp6 (Ubuntu package)
libwebpmux3 (Ubuntu package)
libwebp (Red Hat package)
qt5-qtimageformats (Red Hat package)
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Power, little endian
CentOS
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
iPadOS
Apple iOS
Ubuntu
Red Hat OpenShift Container Platform

How to mitigate CVE-2018-25014

Install updates from vendor's website.

libwebp - update to 1.0.1
libwebp (Debian package) - update to 0.6.1-2+deb10u1
iPadOS - addressed in versions 14.7 18G69, 14.7 18G70
Apple iOS - update to 14.7 18G69
libwebpmux1 (Ubuntu package) - update to 0.4.41ubuntu0.1~esm1
libwebpdemux1 (Ubuntu package) - update to 0.4.41ubuntu0.1~esm1
libwebp5 (Ubuntu package) - update to 0.4.41ubuntu0.1~esm1
libwebpdemux2 (Ubuntu package) - addressed in versions 0.6.1-2ubuntu0.18.04.1, 0.6.1-2ubuntu0.20.04.1, 0.6.1-2ubuntu0.20.10.1, 0.6.1-2ubuntu0.21.04.1
libwebp6 (Ubuntu package) - addressed in versions 0.6.1-2ubuntu0.18.04.1, 0.6.1-2ubuntu0.20.04.1, 0.6.1-2ubuntu0.20.10.1, 0.6.1-2ubuntu0.21.04.1
libwebpmux3 (Ubuntu package) - addressed in versions 0.6.1-2ubuntu0.18.04.1, 0.6.1-2ubuntu0.20.04.1, 0.6.1-2ubuntu0.20.10.1, 0.6.1-2ubuntu0.21.04.1
libwebp (Red Hat package) - update to 1.0.0-5.el8
Red Hat OpenShift Container Platform - update to 4.11.0
qt5-qtimageformats (Red Hat package) - update to 5.9.7-2.el7_9

External References

Related Security Bulletins