Heap-based buffer overflow in libwmf - CVE-2015-4588

 

Heap-based buffer overflow in libwmf - CVE-2015-4588

Published: May 2, 2018


Vulnerability identifier: #VU12350
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-2015-4588
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause DoS condition or execute arbitrary code on the target system.

The weakness exists  in the DecodeImage function due to heap-based buffer overflow. A remote attacker can trick the victim into opening a specially crafted "run-length count" in an image in a WMF file, trigger memory corruption and cause the service to crash or execute arbitrary code.

Successful exploitation of the vulnerability may result in system compromise.


Affected software

libwmf
Debian Linux
Gentoo Linux
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux EUS Compute Node
Ubuntu
Slackware Linux
Fedora
libwmf

How to mitigate CVE-2015-4588

Install update from vendor's website.

libwmf - addressed in versions 0.2.8.4-42.fc21, 0.2.8.4-42.fc22, 0.2.8.4-43.fc21, 0.2.8.4-43.fc22, 0.2.8.4-45.fc21, 0.2.8.4-45.fc22

External References

Related Security Bulletins