CVE-2018-16858
published high CVSS 3.0 · 7.8libreoffice: Arbitrary python functions in arbitrary modules on the filesystem can be executed without warning
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| [UNKNOWN] | — | libreoffice6.0.7 · 6.1.3 | Affected | Not stated | redhat |
| Debian | jessie | libreoffice | Advisory build | 1:4.3.3-2+deb8u12 | DLA-1669-1 |
| Oracle Linux | 7 | libreofficeaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Red Hat Enterprise Linux | RHEL-7 | libreofficeppc64le | Advisory build | 1:5.3.6.1-21.el7 | RHSA-2019:2130 |
| SUSE / openSUSE | SLE-12-SP3 | libreofficex86_64 | Advisory build | 6.2.3.2-43.49.1 | SUSE-SU-2019:1448-1 |
| Ubuntu | trusty | libreoffice | Advisory build | 1:4.2.8-0ubuntu5.5 | USN-3883-1 |
| Debian | stretch | libreoffice | Advisory build | 1:5.2.7-1+deb9u5 | DSA-4381-1 |
| Oracle Linux | 7 | libreofficex86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-7 | libreofficesrc | Advisory build | 1:5.3.6.1-21.el7 | RHSA-2019:2130 |
| Red Hat Enterprise Linux | RHEL-7 | libreofficex86_64 | Advisory build | 1:5.3.6.1-21.el7 | RHSA-2019:2130 |
| SUSE / openSUSE | SLE-12-SP4 | libreofficex86_64 | Advisory build | 6.2.3.2-43.49.1 | SUSE-SU-2019:1448-1 |
| SUSE / openSUSE | SLE-15 | libreofficex86_64 | Advisory build | 6.2.5.2-3.18.5 | SUSE-SU-2019:1894-1 |
| SUSE / openSUSE | SLE-15-SP1 | libreofficex86_64 | Advisory build | 6.2.5.2-8.5.1 | SUSE-SU-2019:2003-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | libreofficex86_64 | Advisory build | 6.2.5.2-lp151.3.3.4 | OPENSUSE-SU-2019:1929-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libreofficex86_64 | Advisory build | 6.2.5.2-lp151.3.3.4 | OPENSUSE-SU-2019:1929-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libreofficeaarch64 | Advisory build | 7.1.5.2-3.13 | OPENSUSE-SU-2024:10983-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libreofficeppc64le | Advisory build | 7.1.5.2-3.13 | OPENSUSE-SU-2024:10983-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libreoffices390x | Advisory build | 7.1.5.2-3.13 | OPENSUSE-SU-2024:10983-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libreofficex86_64 | Advisory build | 7.1.5.2-3.13 | OPENSUSE-SU-2024:10983-1 |
| Ubuntu | xenial | libreoffice | Advisory build | 1:5.1.6~rc2-0ubuntu1~xenial6 | USN-3883-1 |
| Oracle Linux | 7 | autocorr-afaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-afx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-bgaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-bgx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-caaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-cax86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-csaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-csx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-daaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-dax86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-deaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-dex86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-enaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-enx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-esaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-esx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-faaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-fax86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-fiaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-fix86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-fraarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-frx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-gaaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-gax86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-hraarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-hrx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-huaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-hux86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-isaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-isx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-itaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-itx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-jaaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-jax86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-koaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-kox86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-lbaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-lbx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-ltaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-ltx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-mnaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-mnx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-nlaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-nlx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-plaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-plx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-ptaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-ptx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-roaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-rox86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-ruaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-rux86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-skaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-skx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-slaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-slx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-sraarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-srx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-svaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-svx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-traarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-trx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-viaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-vix86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-zhaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | autocorr-zhx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | libreoffice-baseaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | libreoffice-basex86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | libreoffice-bshaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | libreoffice-bshx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | libreoffice-calcaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | libreoffice-calcx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | libreoffice-coreaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | libreoffice-corex86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | libreoffice-dataaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | libreoffice-datax86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | libreoffice-drawaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | libreoffice-drawx86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | libreoffice-emailmergeaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | libreoffice-emailmergex86_64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
| Oracle Linux | 7 | libreoffice-filtersaarch64 | Advisory build | 1:5.3.6.1-21.0.1.el7 | ELSA-2019-2130 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| [UNKNOWN] | libreoffice | 6.0.7 (affected)6.1.3 (affected) | redhat · cna |
Weaknesses
1- CWE-356
References
8- openSUSE-SU-2019:1929 http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00059.html
- http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html
- http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec
- RHSA-2019:2130 https://access.redhat.com/errata/RHSA-2019:2130
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858
- 20190815 [SECURITY] [DSA 4501-1] libreoffice security update https://seclists.org/bugtraq/2019/Aug/28
- 46727 https://www.exploit-db.com/exploits/46727/
- https://www.libreoffice.org/about-us/security/advisories/cve-2018-16858/
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8a8244f50b5503be5998e960110128ea1d722b3194cb03539afc0d266c1e9501
- Ingested
- 23 Sep 2026, 07:43:57 UTC
- Source record
- Official CVE record