CVE-2018-16858
CRITICAL 9.8EPSS 67.3%
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 v3.0
- 9.8 CRITICAL
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS v3.0
- 7.8 HIGH
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS v2.0
- 7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P - EPSS
- 67.32% chance of exploitation in the next 30 days, 99th percentile
- Published
- 2019-03-25
- Updated
- 2024-08-05
Proof-of-concept exploits (6)
- http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html
- http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec
- 4nimanegra/libreofficeExploit13★ · 2019-04-14
- Henryisnotavailable/CVE-2018-16858-Python1★ · 2023-08-27
- NextronSystems/valhallaAPI77★ · 2026-08-24
- bantu2301/CVE-2018-168581★ · 2022-11-24