CVE-2018-16858

Summary

CVECVE-2018-16858
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2019-03-25 18:29:00 UTC
Updated2019-08-06 17:15:00 UTC
DescriptionIt was found that libreoffice before versions 6.0.7 and 6.1.3 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.

Risk And Classification

Problem Types: CWE-22

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Libreoffice Libreoffice All All All All
Application Libreoffice Libreoffice All All All All

References

ReferenceSourceLinkTags
[security-announce] openSUSE-SU-2019:1929-1: moderate: Security update f SUSE lists.opensuse.org
1649841 – (CVE-2018-16858) CVE-2018-16858 libreoffice: Arbitrary python functions in arbitrary modules on the filesystem can be executed without warning CONFIRM bugzilla.redhat.com Issue Tracking, Third Party Advisory
CVE-2018-16858 | LibreOffice - Free Office Suite - Fun Project - Fantastic People MISC www.libreoffice.org Vendor Advisory
Red Hat Customer Portal REDHAT access.redhat.com
LibreOffice Macro Code Execution MISC www.rapid7.com Third Party Advisory
LibreOffice < 6.0.7 / 6.1.3 - Macro Code Execution (Metasploit) - Multiple local Exploit EXPLOIT-DB www.exploit-db.com Exploit, Third Party Advisory, VDB Entry
Bugtraq: [SECURITY] [DSA 4501-1] libreoffice security update BUGTRAQ seclists.org
LibreOffice Macro Code Execution ≈ Packet Storm MISC packetstormsecurity.com Exploit, Third Party Advisory, VDB Entry
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 377232 Alibaba Cloud Linux Security Update for libreoffice (ALINUX2-SA-2019:0074)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report