Home / [UNKNOWN] / libreoffice / CVE-2018-16858
CVE-2018-16858: is it exploited, and which versions of [UNKNOWN] libreoffice are affected and fixed?
CVE-2018-16858 is a missing User Interaction for Potentially Unsafe Action vulnerability in [UNKNOWN] libreoffice. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:08 UTC). Affected: libreoffice 6.0.7 and libreoffice 6.1.3 (CVE record by redhat). Fixed in 6.0.7 and 6.1.3 (NVD). Severity: High (7.8, CVSS 3.0, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:24 UTC.
What is CVE-2018-16858?
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.
From the CVE record by redhat, last updated August 5, 2024, 10:32 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| [UNKNOWN] | libreoffice | 6.0.7 6.1.3 |
As the CVE record by redhat states it, last updated August 5, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| libreoffice | libreoffice | before 6.0.7 | application |
| libreoffice | libreoffice | from 6.1.0 before 6.1.3 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:44 UTC.
How severe is CVE-2018-16858?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.0 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | redhat |
| Critical 9.8 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-16858 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 67.3% probability of exploitation activity in the next 30 days, percentile 99.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-356 Missing User Interaction for Potentially Unsafe Action
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://www.libreoffice.org/about-us/security/advisories/cve-2018-16858/ x_refsource_MISC
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858 x_refsource_CONFIRM
- http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html x_refsource_MISC
- http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec x_refsource_MISC
- 46727 exploit, x_refsource_EXPLOIT-DB
- RHSA-2019:2130 vendor-advisory, x_refsource_REDHAT
- 20190815 [SECURITY] [DSA 4501-1] libreoffice security update mailing-list, x_refsource_BUGTRAQ
- openSUSE-SU-2019:1929 vendor-advisory, x_refsource_SUSE
When was it published, and where is the official record?
- Reserved
- September 11, 2018
- Published
- March 25, 2019, 17:43 UTC
- CVE record updated
- August 5, 2024, 10:32 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 01:44 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:24 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2018-16858
Is CVE-2018-16858 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 67.3% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of [UNKNOWN] libreoffice are affected by CVE-2018-16858?
libreoffice 6.0.7 and libreoffice 6.1.3, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2018-16858?
6.0.7 and 6.1.3, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-16858?
High (7.8, CVSS 3.0, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2018-16858?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.