Heap-based buffer overflow in LibreOffice - CVE-2016-10327

 

Heap-based buffer overflow in LibreOffice - CVE-2016-10327

Published: April 21, 2017


Vulnerability identifier: #VU6370
CSH Severity: High
CVSS v4: 8.4 [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]
CVE-ID: CVE-2016-10327
CWE-ID: CWE-122
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 EMF files with bitmap data preceded by a header and a field with in that header which states the offset from the start of the header to the bitmap data. A remote attacker cat embed a malicious EMF 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.


Affected software

LibreOffice
Gentoo Linux
Ubuntu
libreoffice (Alpine package)
Sophos Anti-Virus

How to mitigate CVE-2016-10327

Update to version 5.2.5 or 5.3.0.

libreoffice (Alpine package) - update to 5.2.7.2-r0
Sophos Anti-Virus - update to 4.5.12

External References

Related Security Bulletins