CVE-2018-16858Libreoffice
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Libreoffice · Libreoffice We alert you by email or Slack (account required).
- Priority
- 81
- CVSS 3.0
- 9.8
- EPSS
- 67.3% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Mar 25, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Libreoffice.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libreoffice | libreoffice | < 6.0.7 |
| libreoffice | libreoffice | ≥ 6.1.0 < 6.1.3 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- www.rapid7.com Third Party Advisory
- access.redhat.com
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- seclists.org
- www.exploit-db.com Exploit Third Party Advisory VDB Entry
- www.libreoffice.org Vendor Advisory