Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2018-16858

84
FAUCET Score

CVE-2018-16858 is a critical directory traversal vulnerability affecting LibreOffice versions prior to 6.0.7 and 6.1.3. This flaw allows an attacker to craft a malicious document that, when opened, executes arbitrary Python macros from any filesystem location relative to the LibreOffice installation. With a CVSS score of 9.8, this vulnerability presents a high risk of complete compromise (confidentiality, integrity, and availability) due to its network-based attack vector and low attack complexity, requiring no user interaction. While not listed on CISA's KEV catalog, exploit modules are publicly available in Metasploit, and the vulnerability has garnered significant community discussion and media coverage, indicating active awareness and potential for exploitation.

Impacted Technologies

VendorProductVersion(s)CPE
< 6.0.7CPE matchmatch criteria
cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*
>= 6.1.0, < 6.1.3CPE matchmatch criteria
cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.0

7.8HIGH

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

Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
1.8
Impact Score
5.9
CvssVersion
3.0

Exploit Intelligence

EPSS Score
67.32%
Probability of exploitation in next 30 days
EPSS Percentile
99.2%
Percentile rank of EPSS score among Peer Group
As of 2026-07-24
Model: v2026.06.15
Metasploit: LibreOffice Macro Code Execution · Oct 18, 2018
ExploitDB: EDB-46727 · Apr 18, 2019
This CVE's current EPSS score of 0.6732 is in the 97th percentile among its peer group of 36,829 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (3)

asteriskpatch availablevia llm_extracted
Fixed in: 6.0.7/6.1.3
View patch
check_pointpatch availablevia llm_extracted
Fixed in: 6.0.7/6.1.3
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 7Fixed in: libreoffice-1:5.3.6.1-21.el7
View patch

Vendor Advisories (3)

redhatCVE-2018-16858Moderate

libreoffice: Arbitrary python functions in arbitrary modules on the filesystem can be executed without warning

Feb 1, 2019
asteriskllm-asterisk-5ef4e228f71c96e3

Directory traversal flaw in script execution

check_pointllm-check_point-942e08624625622f

Directory traversal flaw in script execution

References

lists.opensuse.org / opensuse-security-announce/2019-08/msg00059.html
packetstormsecurity.com / files/152560/LibreOffice-Macro-Code-Execution.html
ExploitThird Party AdvisoryVDB Entry
access.redhat.com / errata/RHSA-2019:2130
bugzilla.redhat.com / show_bug.cgi
Issue TrackingThird Party Advisory
seclists.org / bugtraq/2019/Aug/28
exploit-db.com / exploits/46727
ExploitThird Party AdvisoryVDB Entry
libreoffice.org / about-us/security/advisories/cve-2018-16858
Vendor Advisory
rapid7.com / db/modules/exploit/multi/fileformat/libreoffice_macro_exec
Third Party Advisory