CVE-2018-16858
Reported by redhat · Published March 25, 2019
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libreoffice-fresh | Arch Linux | 6.1.3-1 |
| libreoffice | libreoffice | 6.1.3, 6.0.7 |
| libreoffice | Ubuntu:14.04:LTS | 1:4.2.8-0ubuntu5.5 |
| libreoffice | Ubuntu:16.04:LTS | 1:5.1.6~rc2-0ubuntu1~xenial6 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| [UNKNOWN] | libreoffice | 6.0.7, 6.1.3 |
| arch | libreoffice-fresh | 0 |
| [UNKNOWN] | libreoffice | 6.0.7, 6.1.3 |
Timeline
- Feb 7, 2019 PoC Published (4 in total, the first dated here)
- Mar 25, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 6, 2026 Security Advisory (6 in total, the first dated here)
- Sep 23, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-16858
vulnetix vdb fixes CVE-2018-16858
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-16858/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
- 46727 exploitx_refsource_EXPLOIT-DB
- RHSA-2019:2130 vendor-advisoryx_refsource_REDHAT
- 20190815 [SECURITY] [DSA 4501-1] libreoffice security update mailing-listx_refsource_BUGTRAQ
- openSUSE-SU-2019:1929 vendor-advisoryx_refsource_SUSE