VDB

CVE-2018-16858

CVE-2018-16858 PUBLISHED CVSS 7.8 HIGH

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.

PackageEcosystemFixed in
libreoffice-freshArch Linux6.1.3-1
libreofficelibreoffice6.1.3, 6.0.7
libreofficeUbuntu:14.04:LTS1:4.2.8-0ubuntu5.5
libreofficeUbuntu:16.04:LTS1:5.1.6~rc2-0ubuntu1~xenial6

Risk scores

CVSS 3.0
7.8
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
[UNKNOWN]libreoffice6.0.7, 6.1.3
archlibreoffice-fresh0
[UNKNOWN]libreoffice6.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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›