Heap-based buffer overflow in LibreOffice - CVE-2017-7870

 

Heap-based buffer overflow in LibreOffice - CVE-2017-7870

Published: April 21, 2017


Vulnerability identifier: #VU6371
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2017-7870
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: LibreOffice
Affected software:
LibreOffice

Detailed vulnerability description

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

The vulnerability exists due to a boundary error when processing WMF files with polygons which under certain circumstances when processed (split) can result in output polygons which have too many points to be represented by LibreOffice's internal polygon class. A remote attacker cat embed a malicious WMF file into Office document, trick the victim into opening it, trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.


How to mitigate CVE-2017-7870

Update to version 5.2.5 or 5.3.0.

Sources