Description
LibreOffice has a feature where documents can specify that pre-installed macros can be executed on various script events such as mouse-over, document-open etc. Access is intended to be restricted to scripts under the share/Scripts/python, user/Scripts/python sub-directories of the LibreOffice install. Protection was added, to address CVE-2018-16858, to avoid a directory traversal attack where scripts in arbitrary locations on the file system could be executed. However this new protection could be bypassed by a URL encoding attack. In the fixed versions, the parsed url describing the script location is correctly encoded before further processing. This issue affects: Document Foundation LibreOffice versions prior to 6.2.6.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Document Foundation | LibreOffice | unspecified – < 6.2.6 | 6.2.6 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libreoffice | 1:6.3.0-1 | — |
| Debian 13 | libreoffice | 1:6.3.0-1 | — |
| Debian 12 | libreoffice | 1:6.3.0-1 | — |
| Debian 10 | libreoffice | 1:6.1.5-3+deb10u3 | DSA-4501-1 |
| Debian 9 | libreoffice | 1:5.2.7-1+deb9u10 | DSA-4501-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 8 | libreoffice | 1:4.3.3-2+deb8u13 | DLA-1947-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libreoffice | 1:6.0.7-0ubuntu0.18.04.9 | USN-4102-1 |
| Ubuntu 16.04 LTS | libreoffice | 1:5.1.6~rc2-0ubuntu1~xenial9 | USN-4102-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | autocorr-af +172 | 1:6.0.6.1-20.el8 | RHSA-2020:1598 |
| RHEL 7 | autocorr-af +112 | 1:5.3.6.1-24.el7 | RHSA-2020:1151 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP1 | libreoffice | 6.2.7.1-8.10.1 | SUSE-SU-2019:2402-1 |
| SLES 15 | libreoffice | 6.2.6.2-3.21.1 | SUSE-SU-2019:2231-1 |
| SLES 12 SP4 | libreoffice | 6.2.7.1-43.56.3 | SUSE-SU-2019:2401-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.1 | libreoffice | 6.2.7.1-lp151.3.6.1 | openSUSE-SU-2019:2183-1 |
| openSUSE Leap 15.0 | libreoffice | 6.2.6.2-lp150.2.16.1 | openSUSE-SU-2019:2057-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libreoffice | 6.3.0.4-r0 | — |
| Alpine v3.23 | libreoffice | 6.3.0.4-r0 | — |
| Alpine v3.22 | libreoffice | 6.3.0.4-r0 | — |
| Alpine v3.21 | libreoffice | 6.3.0.4-r0 | — |
| Alpine v3.20 | libreoffice | 6.3.0.4-r0 | — |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | libreoffice | 6.3.0.4-r0 | — |
| Alpine v3.18 | libreoffice | 6.3.0.4-r0 | — |
| Alpine v3.17 | libreoffice | 6.3.0.4-r0 | — |
| Alpine v3.16 | libreoffice | 6.3.0.4-r0 | — |
| Alpine v3.15 | libreoffice | 6.3.0.4-r0 | — |
| Alpine v3.14 | libreoffice | 6.3.0.4-r0 | — |
| Alpine v3.13 | libreoffice | 6.3.0.4-r0 | — |
| Alpine v3.12 | libreoffice | 6.3.0.4-r0 | — |
| Alpine v3.11 | libreoffice | 6.3.0.4-r0 | — |
| Alpine v3.10 | libreoffice | 6.2.6.2-r0 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | autocorr-af +171 | 1:6.0.6.1-20.0.1.el8 | ELSA-2020-1598 |
| Oracle Linux 7 | autocorr-af +180 | 1:5.3.6.1-24.0.1.el7 | ELSA-2020-1151 |
Advisories 13
- RHSA-2020:1151 Red Hat Security Advisory: libreoffice security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2020:1598 Red Hat Security Advisory: libreoffice security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-4102-1 libreoffice vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4501-1 libreoffice - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1947-1 libreoffice - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2019:2401-1 Security update for libreoffice SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:2402-1 Security update for libreoffice SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2057-1 Security update for libreoffice SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:2231-1 Security update for libreoffice SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2183-1 Security update for libreoffice SUSE / openSUSE Security Updates · May 7, 2025
- WID-SEC-2023-2484 LibreOffice: Mehrere Schwachstellen ermöglichen Ausführen von beliebigem Programmcode mit Benutzerrechten BSI CERT-Bund (WID) · Sep 27, 2023
- ELSA-2020-1598 Moderate: libreoffice security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · May 5, 2020
- ELSA-2020-1151 Moderate: libreoffice security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Apr 6, 2020
References
- https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9852
- 20190815 [SECURITY] [DSA 4501-1] libreoffice security update mailing-list
- DSA-4501 vendor-advisory
- FEDORA-2019-2fe22a3a2c vendor-advisory
- USN-4102-1 vendor-advisory
- openSUSE-SU-2019:2057 vendor-advisory
- 20190910 [SECURITY] [DSA 4519-1] libreoffice security update mailing-list
- openSUSE-SU-2019:2183 vendor-advisory
- [debian-lts-announce] 20191006 [SECURITY] [DLA 1947-1] libreoffice security update mailing-list