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…
Noroxi assessment
Priority: This week (action score 60/100)
- A ready-made attack module is public (Metasploit); exploiting it takes no special expertise.
- A ready-made attack tool exists and the flaw can be exploited over the network without an account, so priority is at least “This week”.
- Probability of exploitation in the next 30 days: 67.3% (FIRST EPSS); higher than 99.3% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: libreoffice (Debian:12) 1:6.1.3-1; libreoffice (Debian:8) 1:4.3.3-2+deb8u12; libreoffice (Debian:9) 1:5.2.7-1+deb9u5.
- Severity is disputed: the assigning authority (CNA) scores it 7.8, NVD 9.8.
Don’t wait for the next maintenance window. Upgrade to libreoffice (Debian:12) 1:6.1.3-1; libreoffice (Debian:8) 1:4.3.3-2+deb8u12; libreoffice (Debian:9) 1:5.2.7-1+deb9u5 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Mar 25, 2019
- Updated
- Jun 16, 2026
- EPSS
- 67.3% · 99th percentile
- CWE
- CWE-356
Report tools
Action score
60
Don’t wait for the next maintenance window.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 20 / 30 · 67.3%
- Ready-made attack tool
- 1 / 60 · floor: at least 60
CNA vs NVD score
- NVD
- 9.8
- CNA · redhat
- 7.8
- 2.0 point gap
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Weaponized exploit exists
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| libreoffice | libreoffice | cpe:2.3:a:libreoffice:libreoffice |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
[UNKNOWN] libreoffice
- 6.0.7, 6.1.3affected
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- libreoffice libreofficebefore 6.0.7
- libreoffice libreoffice6.1.0 and later · before 6.1.3
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | libreoffice | before 1:6.1.3-1 | 1:6.1.3-1 |
| Debian:8 | libreoffice | before 1:4.3.3-2+deb8u12 | 1:4.3.3-2+deb8u12 |
| Debian:9 | libreoffice | before 1:5.2.7-1+deb9u5 | 1:5.2.7-1+deb9u5 |
| openSUSE:Leap 15.0 | libixion | before 0.14.1-lp151.4.3.1 | 0.14.1-lp151.4.3.1 |
| openSUSE:Leap 15.0 | liborcus | before 0.14.1-lp151.3.3.1 | 0.14.1-lp151.3.3.1 |
| openSUSE:Leap 15.0 | libreoffice | before 6.2.5.2-lp151.3.3.4 | 6.2.5.2-lp151.3.3.4 |
| openSUSE:Leap 15.0 | libwps | before 0.4.10-lp151.2.3.1 | 0.4.10-lp151.2.3.1 |
| openSUSE:Leap 15.0 | mdds-1_4 | before 1.4.3-lp151.2.1 | 1.4.3-lp151.2.1 |
| openSUSE:Leap 15.0 | myspell-dictionaries | before 20190423-lp151.2.3.1 | 20190423-lp151.2.3.1 |
| openSUSE:Tumbleweed | libreoffice | before 7.1.5.2-3.13 | 7.1.5.2-3.13 |
| Red Hat:enterprise_linux:7::client | autocorr-af | before 1:5.3.6.1-21.el7 | 1:5.3.6.1-21.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-bg | before 1:5.3.6.1-21.el7 | 1:5.3.6.1-21.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-ca | before 1:5.3.6.1-21.el7 | 1:5.3.6.1-21.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-cs | before 1:5.3.6.1-21.el7 | 1:5.3.6.1-21.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-da | before 1:5.3.6.1-21.el7 | 1:5.3.6.1-21.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-de | before 1:5.3.6.1-21.el7 | 1:5.3.6.1-21.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-en | before 1:5.3.6.1-21.el7 | 1:5.3.6.1-21.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-es | before 1:5.3.6.1-21.el7 | 1:5.3.6.1-21.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-fa | before 1:5.3.6.1-21.el7 | 1:5.3.6.1-21.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-fi | before 1:5.3.6.1-21.el7 | 1:5.3.6.1-21.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-fr | before 1:5.3.6.1-21.el7 | 1:5.3.6.1-21.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-ga | before 1:5.3.6.1-21.el7 | 1:5.3.6.1-21.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-hr | before 1:5.3.6.1-21.el7 | 1:5.3.6.1-21.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-hu | before 1:5.3.6.1-21.el7 | 1:5.3.6.1-21.el7 |
+96
Same product
libreoffice: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-9851LibreLogo global-event script execution62This week
- CVE-2018-10583An information disclosure vulnerability occurs when LibreOffice 6.0.3 and Apache OpenOffice Writer 4.1.5 automatically process and initiate…60This week
- CVE-2019-9848LibreOffice has a feature where documents can specify that pre-installed scripts can be executed on various document events such as…48Plan
Published before and after this one in the same product
- ← EarlierCVE-2018-10120Apr 16, 2018 · The SwCTBWrapper::Read function in sw/source/filter/ww8/ww8toolbar.cxx in LibreOffice before 5.4.6.1 and 6.x before 6.0.2.1 does not…32Monitor
- ← EarlierCVE-2018-14939Aug 5, 2018 · The get_app_path function in desktop/unx/source/start.c in LibreOffice through 6.0.5 mishandles the realpath function in certain…40Plan
- Later →CVE-2019-9847May 9, 2019 · Executable hyperlink targets executed unconditionally on activation31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:libreoffice | 1:6.1.3-1 · Debian:12 | Package registry (OSV) |
| opensuse:libixion | 0.14.1-lp151.4.3.1 · openSUSE:Leap 15.0 | Package registry (OSV) |
| opensuse:liborcus | 0.14.1-lp151.3.3.1 · openSUSE:Leap 15.0 | Package registry (OSV) |
| opensuse:libreoffice | 6.2.5.2-lp151.3.3.4 · openSUSE:Leap 15.0 | Package registry (OSV) |
| opensuse:libwps | 0.4.10-lp151.2.3.1 · openSUSE:Leap 15.0 | Package registry (OSV) |
| opensuse:mdds-1_4 | 1.4.3-lp151.2.1 · openSUSE:Leap 15.0 | Package registry (OSV) |
| opensuse:myspell-dictionaries | 20190423-lp151.2.3.1 · openSUSE:Leap 15.0 | Package registry (OSV) |
| red hat:autocorr-af | 1:5.3.6.1-21.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:autocorr-bg | 1:5.3.6.1-21.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:autocorr-ca | 1:5.3.6.1-21.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:autocorr-cs | 1:5.3.6.1-21.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:autocorr-da | 1:5.3.6.1-21.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:autocorr-de | 1:5.3.6.1-21.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:autocorr-en | 1:5.3.6.1-21.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:autocorr-es | 1:5.3.6.1-21.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:autocorr-fa | 1:5.3.6.1-21.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:autocorr-fi | 1:5.3.6.1-21.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:autocorr-fr | 1:5.3.6.1-21.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:autocorr-ga | 1:5.3.6.1-21.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:libixion | 0.14.1-13.9.2 · SUSE:Linux Enterprise Desktop 12 SP3 | Package registry (OSV) |
| suse:liborcus | 0.14.1-10.12.2 · SUSE:Linux Enterprise Desktop 12 SP3 | Package registry (OSV) |
| suse:libreoffice | 6.2.3.2-43.49.1 · SUSE:Linux Enterprise Desktop 12 SP3 | Package registry (OSV) |
| suse:libwps | 0.4.10-10.13.2 · SUSE:Linux Enterprise Desktop 12 SP3 | Package registry (OSV) |
| suse:myspell-dictionaries | 20190423-16.18.1 · SUSE:Linux Enterprise Desktop 12 SP3 | Package registry (OSV) |
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Metasploit module ×1
- Exploit-DB entry ×2
- Proof-of-concept repository on GitHub ×4
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | 4 repositories | 2019-04-14 → 2023-08-26 |
| Exploit-DB entry | local | 2019-04-18 |
| Exploit-DB entry | local | 2019-04-18 |
| Metasploit module | exploit/multi/fileformat/libreoffice_macro_execLibreOffice Macro Code Executionexploit | 2018-10-18 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Metasploit-159 d
- Published
- First PoC+19 d
- TodayNov 16, 2026+2793 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Not on record for this CVE: patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-356 · Product UI does not Warn User of Unsafe ActionsCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (5 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.