CVE-2018-16858
libreoffice: Arbitrary python functions in arbitrary modules on the filesystem can be executed without warning
Severity
LowRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · February 1, 2019
Updated · November 22, 2025
Description
It was found that libreoffice was vulnerable to a directory traversal attack which could be used to execute arbitrary macros bundled with a document. An attacker could craft a document, which when opened by LibreOffice, would execute a Python method from a script in any arbitrary file system location, specified relative to the LibreOffice install location.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 7.8CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CWE-356 · Product UI does not Warn User of Unsafe Actions