{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-16858","published":"2019-03-25T18:29:00.463000Z","last_modified":"2026-06-17T01:44:55.530000Z","status":"Modified","cvss":{"version":"3.0","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-356","CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*","part":"a","vendor":"libreoffice","product":"libreoffice","version_end_excluding":"6.0.7"},{"criteria":"cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*","part":"a","vendor":"libreoffice","product":"libreoffice","version_start_including":"6.1.0","version_end_excluding":"6.1.3"}],"cpes_truncated":false,"vendors":["libreoffice"],"products":["libreoffice/libreoffice"],"epss":{"score":0.67321,"percentile":0.99491,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":81,"links":{"html_es":"/es/cve/CVE-2018-16858/","html_en":"/en/cve/CVE-2018-16858/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-16858","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-16858"},"untrusted":{"vendor_name":"Libreoffice","product_name":"Libreoffice","desc_en":"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.","affected":[{"untrusted_vendor":"[UNKNOWN]","untrusted_product":"libreoffice","versions":[]}],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00059.html","tags":[]},{"url":"http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2130","tags":[]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://seclists.org/bugtraq/2019/Aug/28","tags":[]},{"url":"https://www.exploit-db.com/exploits/46727/","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://www.libreoffice.org/about-us/security/advisories/cve-2018-16858/","tags":["Vendor Advisory"]}]}}