{"cve":"CVE-2018-16858","nvd":{"published":"2019-03-25T18:29:00.463","modified":"2026-06-17T01:44:55.530","status":"Modified","description":"It 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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-22","CWE-356"],"references":["http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00059.html","http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html","http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec","https://access.redhat.com/errata/RHSA-2019:2130","https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858"],"products":["libreoffice:libreoffice"],"source":"nvd","synced_at":"2026-10-19T20:55:22.313337056+00:00"},"epss":{"cve":"CVE-2018-16858","score":0.67321,"percentile":0.99305,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}