{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-16858","id":"CVE-2018-16858","title":"It was found that libreoffice before versions 6.0.7 and 6.1.3 was vulnerable to a directory traversal attack which co…","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.","descriptionLong":"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.","published":"2019-03-25T17:43:08.000Z","updated":"2026-10-24T10:30:23.201065710Z","reserved":"2018-09-11T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"redhat"},"metrics":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"redhat"},{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"redhat.com"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"high","products":["[UNKNOWN] libreoffice"],"affectedProducts":[{"vendor":"[UNKNOWN]","product":"libreoffice","defaultStatus":null,"versions":[{"status":"affected","version":"6.0.7"},{"status":"affected","version":"6.1.3"}],"platforms":[]}],"packages":[],"cwes":["CWE-356","CWE-22"],"aliases":[],"references":[{"url":"https://www.libreoffice.org/about-us/security/advisories/cve-2018-16858/","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.exploit-db.com/exploits/46727/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2130","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory"]},{"url":"https://seclists.org/bugtraq/2019/Aug/28","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00059.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.67321,"epssPercentile":0.99319,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-16858","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16858","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-16858","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-16858","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":["EPSS 67% with CVSS 7.8"],"attention":null}