CVE-2023-6186 json
Link targets allow arbitrary script execution
published 2023-12-11 2 y ago modified 2026-06-17 4 mo ago also EUVD-2023-58435
- cvss
- 8.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
Insufficient macro permission validation of The Document Foundation LibreOffice allows an attacker to execute built-in macros without warning.
In affected versions LibreOffice supports hyperlinks with macro or similar built-in command targets that can be executed when activated without warning the user.
Patch / fix
- The Document Foundation LibreOffice 7.5.9, 7.6.4
- libreoffice Debian 12 4:7.4.7-1+deb12u1
- libreoffice Debian 14, Debian 13 4:7.6.4~rc1-1
debian advisories DEBIAN-CVE-2023-6186
- libreoffice Ubuntu 20.04 LTS 1:6.4.7-0ubuntu0.20.04.9
- libreoffice Ubuntu 22.04 LTS 1:7.3.7-0ubuntu0.22.04.4
ubuntu advisories UBUNTU-CVE-2023-6186
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libreoffice RHEL 9 1:7.1.8.1-12.el9_4
- autocorr-af RHEL 9 1:7.1.8.1-12.el9_4
- autocorr-bg RHEL 9 1:7.1.8.1-12.el9_4
- autocorr-ca RHEL 9 1:7.1.8.1-12.el9_4
- autocorr-cs RHEL 9 1:7.1.8.1-12.el9_4
- autocorr-da RHEL 9 1:7.1.8.1-12.el9_4
- autocorr-de RHEL 9 1:7.1.8.1-12.el9_4
- autocorr-el RHEL 9 1:7.1.8.1-12.el9_4
red hat advisories RHSA-2024:3835RHSA-2024:1512RHSA-2024:1513RHSA-2024:1514RHSA-2024:1480RHSA-2024:1473
- libreoffice SLE Workstation Extension 12 SP5, SLE Software Development Kit 12 SP5 7.6.2.1-48.51.4
- libreoffice SLE Workstation Extension 15 SP5, SLE Workstation Extension 15 SP4, SLE Module for Package Hub 15 SP5 +3 more 7.6.2.1-150400.17.20.1
suse advisories SUSE-SU-2023:4984-1SUSE-SU-2023:4932-1
- libreoffice AlmaLinux 9 1:7.1.8.1-12.el9_4.alma.1
- autocorr-af AlmaLinux 9 1:7.1.8.1-12.el9_4.alma.1
- autocorr-bg AlmaLinux 9 1:7.1.8.1-12.el9_4.alma.1
- autocorr-ca AlmaLinux 9 1:7.1.8.1-12.el9_4.alma.1
- autocorr-cs AlmaLinux 9 1:7.1.8.1-12.el9_4.alma.1
- autocorr-da AlmaLinux 9 1:7.1.8.1-12.el9_4.alma.1
- autocorr-de AlmaLinux 9 1:7.1.8.1-12.el9_4.alma.1
- autocorr-el AlmaLinux 9 1:7.1.8.1-12.el9_4.alma.1
almalinux advisories ALSA-2024:3835ALSA-2024:1514ALSA-2024:1427
- libreoffice Rocky Linux 9 1:7.1.8.1-12.el9_3
- libreoffice Rocky Linux 8 1:6.4.7.2-16.el8_9
rocky linux advisories RLSA-2024:3835RLSA-2024:1427RLSA-2024:1514
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-6186 updated cvss 8.3
libreoffice: Insufficient macro permission validation leading to macro execution
-
Red Hat Enterprise Linux 6 autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, autocorr-de, +60 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, autocorr-de, +105 moreaffected: no fix planned “Will not fix”
-
Red Hat CodeReady Linux Builder (v. 8) libreoffice-sdk 6.4.7.2-16.el8_9fixed: vendor fix RHSA-2024:1514
-
Red Hat CodeReady Linux Builder (v. 9) libreoffice-sdk 7.1.8.1-12.el9_3fixed: vendor fix RHSA-2024:1427
-
Red Hat CodeReady Linux Builder EUS (v.8.6) libreoffice-sdk 6.4.7.2-16.el8_6fixed: vendor fix RHSA-2024:1473
-
Red Hat CodeReady Linux Builder EUS (v.8.8) libreoffice-sdk 6.4.7.2-16.el8_8fixed: vendor fix RHSA-2024:1513
-
Red Hat CodeReady Linux Builder EUS (v.9.0) libreoffice-sdk 7.1.8.1-12.el9_0fixed: vendor fix RHSA-2024:1423
-
Red Hat CodeReady Linux Builder EUS (v.9.2) libreoffice-sdk 7.1.8.1-12.el9_2fixed: vendor fix RHSA-2024:1425
show 14 moreshow fewer
-
Red Hat Enterprise Linux AppStream (v. 8) autocorr-af 6.4.7.2-16.el8_9, autocorr-bg 6.4.7.2-16.el8_9, autocorr-ca 6.4.7.2-16.el8_9, autocorr-cs 6.4.7.2-16.el8_9, autocorr-da 6.4.7.2-16.el8_9, autocorr-de 6.4.7.2-16.el8_9, +95 morefixed: vendor fix RHSA-2024:1514
-
Red Hat Enterprise Linux AppStream (v. 9) autocorr-af 7.1.8.1-12.el9_3, autocorr-af 7.1.8.1-12.el9_4, autocorr-bg 7.1.8.1-12.el9_3, autocorr-bg 7.1.8.1-12.el9_4, autocorr-ca 7.1.8.1-12.el9_3, autocorr-ca 7.1.8.1-12.el9_4, +206 morefixed: vendor fix RHSA-2024:1427
-
Red Hat Enterprise Linux AppStream AUS (v. 8.2) autocorr-af 6.0.6.1-21.el8_2, autocorr-bg 6.0.6.1-21.el8_2, autocorr-ca 6.0.6.1-21.el8_2, autocorr-cs 6.0.6.1-21.el8_2, autocorr-da 6.0.6.1-21.el8_2, autocorr-de 6.0.6.1-21.el8_2, +96 morefixed: vendor fix RHSA-2024:1512
-
Red Hat Enterprise Linux AppStream AUS (v.8.4) autocorr-af 6.4.7.2-16.el8_4, autocorr-bg 6.4.7.2-16.el8_4, autocorr-ca 6.4.7.2-16.el8_4, autocorr-cs 6.4.7.2-16.el8_4, autocorr-da 6.4.7.2-16.el8_4, autocorr-de 6.4.7.2-16.el8_4, +95 morefixed: vendor fix RHSA-2024:1480
-
Red Hat Enterprise Linux AppStream E4S (v. 8.2) autocorr-af 6.0.6.1-21.el8_2, autocorr-bg 6.0.6.1-21.el8_2, autocorr-ca 6.0.6.1-21.el8_2, autocorr-cs 6.0.6.1-21.el8_2, autocorr-da 6.0.6.1-21.el8_2, autocorr-de 6.0.6.1-21.el8_2, +96 morefixed: vendor fix RHSA-2024:1512
-
Red Hat Enterprise Linux AppStream E4S (v.8.4) autocorr-af 6.4.7.2-16.el8_4, autocorr-bg 6.4.7.2-16.el8_4, autocorr-ca 6.4.7.2-16.el8_4, autocorr-cs 6.4.7.2-16.el8_4, autocorr-da 6.4.7.2-16.el8_4, autocorr-de 6.4.7.2-16.el8_4, +95 morefixed: vendor fix RHSA-2024:1480
-
Red Hat Enterprise Linux AppStream EUS (v.8.6) autocorr-af 6.4.7.2-16.el8_6, autocorr-bg 6.4.7.2-16.el8_6, autocorr-ca 6.4.7.2-16.el8_6, autocorr-cs 6.4.7.2-16.el8_6, autocorr-da 6.4.7.2-16.el8_6, autocorr-de 6.4.7.2-16.el8_6, +95 morefixed: vendor fix RHSA-2024:1473
-
Red Hat Enterprise Linux AppStream EUS (v.8.8) autocorr-af 6.4.7.2-16.el8_8, autocorr-bg 6.4.7.2-16.el8_8, autocorr-ca 6.4.7.2-16.el8_8, autocorr-cs 6.4.7.2-16.el8_8, autocorr-da 6.4.7.2-16.el8_8, autocorr-de 6.4.7.2-16.el8_8, +95 morefixed: vendor fix RHSA-2024:1513
-
Red Hat Enterprise Linux AppStream EUS (v.9.0) autocorr-af 7.1.8.1-12.el9_0, autocorr-bg 7.1.8.1-12.el9_0, autocorr-ca 7.1.8.1-12.el9_0, autocorr-cs 7.1.8.1-12.el9_0, autocorr-da 7.1.8.1-12.el9_0, autocorr-de 7.1.8.1-12.el9_0, +100 morefixed: vendor fix RHSA-2024:1423
-
Red Hat Enterprise Linux AppStream EUS (v.9.2) autocorr-af 7.1.8.1-12.el9_2, autocorr-bg 7.1.8.1-12.el9_2, autocorr-ca 7.1.8.1-12.el9_2, autocorr-cs 7.1.8.1-12.el9_2, autocorr-da 7.1.8.1-12.el9_2, autocorr-de 7.1.8.1-12.el9_2, +100 morefixed: vendor fix RHSA-2024:1425
-
Red Hat Enterprise Linux AppStream TUS (v. 8.2) autocorr-af 6.0.6.1-21.el8_2, autocorr-bg 6.0.6.1-21.el8_2, autocorr-ca 6.0.6.1-21.el8_2, autocorr-cs 6.0.6.1-21.el8_2, autocorr-da 6.0.6.1-21.el8_2, autocorr-de 6.0.6.1-21.el8_2, +96 morefixed: vendor fix RHSA-2024:1512
-
Red Hat Enterprise Linux AppStream TUS (v.8.4) autocorr-af 6.4.7.2-16.el8_4, autocorr-bg 6.4.7.2-16.el8_4, autocorr-ca 6.4.7.2-16.el8_4, autocorr-cs 6.4.7.2-16.el8_4, autocorr-da 6.4.7.2-16.el8_4, autocorr-de 6.4.7.2-16.el8_4, +95 morefixed: vendor fix RHSA-2024:1480
-
Red Hat Enterprise Linux CRB (v. 9) libreoffice-sdk 7.1.8.1-12.el9_4fixed: vendor fix RHSA-2024:3835
-
Red Hat Enterprise Linux 8 autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, autocorr-de, +98 more Red Hat Enterprise Linux 9 autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, autocorr-de, +101 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.77% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.3 | CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- The Document Foundation LibreOffice
Classification
- Weakness
-
- CWE-281 Improper Preservation of Permissions
References
-
libreoffice.org
/about-us/security/advisories/cve-2023-6186
vendor-advisory
-
debian.org
/security/2023/dsa-5574
third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/QB7UB6CTWQUDOE657OVVRSDYUY3IPBJG/
mailing-list, third-party-advisory
- lists.debian.org /debian-lts-announce/2023/12/msg00026.html
Sources
- CVE List CVE-2023-6186
- NVD CVE-2023-6186
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.