libreoffice: Arbitrary python functions in arbitrary modules on the filesystem can be executed without warning
Published Mar 25, 2019
9.8
CRITICALCVSS 3.0
EPSS 67.32%
Description
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.
Affected products
- Vendor n/a Product LibreOffice Defaultn/a
- Version 6.0.7StatusaffectedConstraints-
- Version 6.1.3StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n/a | LibreOffice | n/a |
|
- < 6.0.7
- ≥ 6.1.0 · < 6.1.3
No data.
Red Hat Enterprise Linux 7
libreoffice-1:5.3.6.1-21.el7
Fixed · RHSA-2019:2130
Red Hat Enterprise Linux 6
libreoffice
Out of support scope
Red Hat Enterprise Linux 8
libreoffice
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | libreoffice-1:5.3.6.1-21.el7 | Fixed | RHSA-2019:2130 |
| Red Hat Enterprise Linux 6 | libreoffice | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | libreoffice | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (40 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 67.32% (0.67321) | 99.29th | v5 (v2026.06.15) |
| Sep 22, 2026 | 67.32% (0.67321) | 99.27th | v5 (v2026.06.15) |
| Sep 21, 2026 | 66.17% (0.66174) | 99.27th | v5 (v2026.06.15) |
| Sep 6, 2026 | 67.32% (0.67321) | 99.25th | v5 (v2026.06.15) |
| Sep 5, 2026 | 66.17% (0.66174) | 99.25th | v5 (v2026.06.15) |
| Aug 30, 2026 | 67.32% (0.67321) | 99.25th | v5 (v2026.06.15) |
| Aug 28, 2026 | 66.17% (0.66174) | 99.25th | v5 (v2026.06.15) |
| Aug 24, 2026 | 67.32% (0.67321) | 99.25th | v5 (v2026.06.15) |
| Aug 23, 2026 | 66.17% (0.66174) | 99.25th | v5 (v2026.06.15) |
| Jun 15, 2026 | 67.55% (0.67547) | 99.22th | v5 (v2026.06.15) |
| Nov 21, 2025 | 92.58% (0.92577) | 99.72th | v4 (v2025.03.14) |
| Nov 18, 2025 | 73.31% (0.73307) | 98.86th | v4 (v2025.03.14) |
| Mar 17, 2025 | 92.37% (0.92372) | 99.72th | v4 (v2025.03.14) |
| Mar 4, 2025 | 97.00% (0.97005) | 99.86th | v3 (v2023.03.01) |
| Dec 12, 2024 | 95.96% (0.95956) | 99.54th | v3 (v2023.03.01) |
| Jul 3, 2024 | 96.33% (0.96327) | 99.57th | v3 (v2023.03.01) |
| May 11, 2024 | 96.38% (0.96384) | 99.56th | v3 (v2023.03.01) |
| Apr 22, 2024 | 96.40% (0.96399) | 99.55th | v3 (v2023.03.01) |
| Apr 5, 2024 | 96.55% (0.96547) | 99.59th | v3 (v2023.03.01) |
| Mar 18, 2024 | 96.73% (0.96727) | 99.64th | v3 (v2023.03.01) |
| Mar 3, 2024 | 96.66% (0.96664) | 99.61th | v3 (v2023.03.01) |
| Feb 14, 2024 | 96.63% (0.96626) | 99.59th | v3 (v2023.03.01) |
| Dec 10, 2023 | 96.64% (0.96638) | 99.54th | v3 (v2023.03.01) |
| Nov 20, 2023 | 96.82% (0.96823) | 99.60th | v3 (v2023.03.01) |
| Nov 8, 2023 | 96.79% (0.96791) | 99.58th | v3 (v2023.03.01) |
| Oct 6, 2023 | 96.75% (0.96747) | 99.54th | v3 (v2023.03.01) |
| Aug 6, 2023 | 96.88% (0.96877) | 99.55th | v3 (v2023.03.01) |
| Jul 19, 2023 | 96.85% (0.96850) | 99.53th | v3 (v2023.03.01) |
| Jun 20, 2023 | 96.95% (0.96952) | 99.57th | v3 (v2023.03.01) |
| Jun 4, 2023 | 96.90% (0.96901) | 99.54th | v3 (v2023.03.01) |
| May 20, 2023 | 96.92% (0.96925) | 99.54th | v3 (v2023.03.01) |
| Apr 18, 2023 | 96.85% (0.96851) | 99.47th | v3 (v2023.03.01) |
| Apr 1, 2023 | 96.74% (0.96742) | 99.41th | v3 (v2023.03.01) |
| Mar 18, 2023 | 96.67% (0.96673) | 99.36th | v3 (v2023.03.01) |
| Mar 7, 2023 | 96.90% (0.96898) | 99.47th | v3 (v2023.03.01) |
| Mar 6, 2023 | 93.13% (0.93132) | 99.92th | v2 (v2022.01.01) |
| Feb 4, 2022 | 93.13% (0.93132) | 99.92th | v2 (v2022.01.01) |
| Feb 3, 2022 | 38.65% (0.38647) | 98.16th | v1 |
| Sep 1, 2021 | 38.65% (0.38647) | 99.21th | v1 |
| Apr 14, 2021 | 38.65% (0.38647) | 0.00th | v1 |
References (12)
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00059.html vendor-advisoryx_refsource_SUSE
- http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html x_refsource_MISCExploitThird Party AdvisoryVDB Entry
- http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec x_refsource_MISCThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2130 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2018-16858 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1649841 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-16858
- https://seclists.org/bugtraq/2019/Aug/28 mailing-listx_refsource_BUGTRAQ
- https://www.cve.org/CVERecord?id=CVE-2018-16858
- https://www.exploit-db.com/exploits/46727/ exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry
- https://www.libreoffice.org/about-us/security/advisories/cve-2018-16858/ x_refsource_MISCVendor Advisory
Change history (0)
No recorded changes yet.