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.
Conclusion & alert: CVE-2018-16858 is rated High Exploit Risk (75.9/100): CVSS High severity, with high exploitation likelihood (EPSS 67.55%, 99th percentile). Core evidence: 3 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| 46727 | exploit_db | edb | 2019-04-18 | Exploit-DB ↗ |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 92.34% | 67.55% | -24.80% |
| 2 | 2026-03-02 | 92.38% | 92.34% | -0.04% |
| 3 | 2026-02-18 | — | 92.38% | — |
Full EPSS history (32 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.8 | 3.0 | HIGH |
|
1.8 | 5.9 | [email protected] |
| 9.8 | 3.0 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 7.5 | 2.0 | HIGH |
|
10.0 | 6.4 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2018-16858 not yet assigned priority: Debian including 1 source packages (libreoffice), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2018-16858 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2018-16858 |
suse
|
medium | CVE-2018-16858 severity moderate: SUSE including 1614 source package names (libixion-0_14-0-0.14.1-13.9.2, libixion-0_14-0-0.14.1-4.3.8, …), 3737 product×package rows across 40 product lines (SUSE Linux Enterprise Desktop 12 SP3, SUSE Linux Enterprise Desktop 12 SP4, … (40 product lines)): Fixed 3737. | https://www.suse.com/security/cve/CVE-2018-16858/ |
ubuntu
|
medium | CVE-2018-16858 medium priority: Ubuntu including 1 source packages (libreoffice), 5 status rows across 5 suites (bionic, cosmic, trusty, upstream, xenial): released 3, not-affected 2. | https://ubuntu.com/security/CVE-2018-16858 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| libreoffice | libreoffice | < 6.0.7 | cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:* |
| libreoffice | libreoffice | >= 6.1.0, < 6.1.3 | cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00059.html | |
| http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html | Exploit Third Party Advisory VDB Entry |
| http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2019:2130 | |
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858 | Issue Tracking Third Party Advisory |
| https://seclists.org/bugtraq/2019/Aug/28 | |
| https://www.exploit-db.com/exploits/46727/ | Exploit Third Party Advisory VDB Entry |
| https://www.libreoffice.org/about-us/security/advisories/cve-2018-16858/ | Vendor Advisory |