Description
LibreOffice supports Office URI Schemes to enable browser integration of LibreOffice with MS SharePoint server. An additional scheme 'vnd.libreoffice.command' specific to LibreOffice was added. In the affected versions of LibreOffice links using that scheme could be constructed to call internal macros with arbitrary arguments. Which when clicked on, or activated by document events, could result in arbitrary script execution without warning. This issue affects: The Document Foundation LibreOffice 7.4 versions prior to 7.4.1; 7.3 versions prior to 7.3.6.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| The Document Foundation | LibreOffice | 7.4 – < 7.4.1, 7.3 – < 7.3.6 | 7.4.1 |
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:7.4.1~rc2-3 | — |
| Debian 13 | libreoffice | 1:7.4.1~rc2-3 | — |
| Debian 12 | libreoffice | 1:7.4.1~rc2-3 | — |
| Debian 11 | libreoffice | 1:7.0.4-4+deb11u4 | DSA-5252-1 |
| Debian 10 | libreoffice | 1:6.1.5-3+deb10u8 | DLA-3368-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | libreoffice | 1:7.3.6-0ubuntu0.22.04.2 | USN-5694-1 |
| Ubuntu 20.04 LTS | libreoffice | 1:6.4.7-0ubuntu0.20.04.6 | USN-5694-1 |
| Ubuntu 18.04 LTS | libreoffice | 1:6.0.7-0ubuntu0.18.04.12 | USN-5694-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | autocorr-af +178 | 1:7.1.8.1-8.el9_1 | RHSA-2023:0304 |
| RHEL 8 | autocorr-af +171 | 1:6.4.7.2-12.el8_7 | RHSA-2023:0089 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | autocorr-af +177 | 1:7.1.8.1-8.el9_1.alma | ALSA-2023:0304 |
| AlmaLinux 8 | autocorr-af +170 | 1:6.4.7.2-12.el8_7.alma | ALSA-2023:0089 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | libreoffice | 1:7.1.8.1-8.el9_1 | RLSA-2023:0304 |
| Rocky Linux 8 | libreoffice | 1:6.4.7.2-12.el8_7 | RLSA-2023:0089 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | libreoffice | 7.3.6.2-150300.14.22.24.2 | SUSE-SU-2022:3650-1 |
| SLES 15 SP3 | libreoffice | 7.3.6.2-150300.14.22.24.2 | SUSE-SU-2022:3650-1 |
| SLES 12 SP5 | libreoffice | 7.3.6.2-48.28.1 | SUSE-SU-2022:3602-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libreoffice | 7.4.2.3-1.1 | openSUSE-SU-2024:12452-1 |
| openSUSE Leap 15.4 | libreoffice | 7.3.6.2-150300.14.22.24.2 | SUSE-SU-2022:3650-1 |
| openSUSE Leap 15.3 | libreoffice | 7.3.6.2-150300.14.22.24.2 | SUSE-SU-2022:3650-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libreoffice | 7.3.6.2-r0 | — |
| Alpine v3.23 | libreoffice | 7.3.6.2-r0 | — |
| Alpine v3.22 | libreoffice | 7.3.6.2-r0 | — |
| Alpine v3.21 | libreoffice | 7.3.6.2-r0 | — |
| Alpine v3.20 | libreoffice | 7.3.6.2-r0 | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | libreoffice | 7.3.6.2-r0 | — |
| Alpine v3.18 | libreoffice | 7.3.6.2-r0 | — |
| Alpine v3.17 | libreoffice | 7.3.6.2-r0 | — |
| Alpine v3.16 | libreoffice | 7.2.7.2-r2 | — |
| Alpine v3.15 | libreoffice | 7.2.7.2-r0 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | autocorr-af +177 | 1:7.1.8.1-8.0.1.el9_1 | ELSA-2023-0304 |
| Oracle Linux 8 | autocorr-af +170 | 1:6.4.7.2-12.0.1.el8_7 | ELSA-2023-0089 |
Advisories 15
- ALSA-2023:0304 Moderate: libreoffice security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:0089 Moderate: libreoffice security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2023:0304 Red Hat Security Advisory: libreoffice security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2023:0089 Red Hat Security Advisory: libreoffice security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- USN-5694-1 libreoffice vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-5252-1 libreoffice - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3368-1 libreoffice - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2023:0089 Moderate: libreoffice security update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2023:0304 Moderate: libreoffice security update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2022:3650-1 Security update for libreoffice SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12452-1 libreoffice-7.4.2.3-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:3602-1 Security update for libreoffice SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2022-1679 LibreOffice: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Mar 26, 2023
- ELSA-2023-0304 Moderate: libreoffice security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jan 24, 2023
- ELSA-2023-0089 Moderate: libreoffice security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jan 18, 2023
References
- https://www.libreoffice.org/about-us/security/advisories/CVE-2022-3140
- DSA-5252 vendor-advisory
- FEDORA-2022-775c747e4a vendor-advisory
- GLSA-202212-04 vendor-advisory
- [debian-lts-announce] 20230326 [SECURITY] [DLA 3368-1] libreoffice security update mailing-list