# CVE-2023-6186: Link targets allow arbitrary script execution

- Priority: **Routine**
- Reason: Not severe (CVSS 8.3, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-12-11 · Modified: 2025-02-13
- Aliases: UBUNTU-CVE-2023-6186, DEBIAN-CVE-2023-6186
- Record: https://cvemate.com/vulnerability/CVE-2023-6186 · JSON: https://cvemate.com/vulnerability/CVE-2023-6186/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.772%, percentile 57.06%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian libreoffice (Debian): \< 4:7.4.7-1+deb12u1 \| \< 4:7.6.4~rc1-1
- ubuntu libreoffice (Ubuntu): \< 1:6.4.7-0ubuntu0.20.04.9 \| \< 1:7.3.7-0ubuntu0.22.04.4
- debian debian\_linux: 11.0 \| 12.0
- fedoraproject fedora: 38
- libreoffice libreoffice: ≥ 7.5.0, \< 7.5.9 \| ≥ 7.6.0, \< 7.6.4
- the document foundation libreoffice: ≥ 7.5, \< 7.5.9 \| ≥ 7.6, \< 7.6.4

## References

- <https://www.libreoffice.org/about-us/security/advisories/cve-2023-6186>
- <https://www.debian.org/security/2023/dsa-5574>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QB7UB6CTWQUDOE657OVVRSDYUY3IPBJG/>
- <https://lists.debian.org/debian-lts-announce/2023/12/msg00026.html>
- <https://ubuntu.com/security/CVE-2023-6186>
- <https://www.libreoffice.org/about-us/security/advisories/cve-2023-6186/>
- <https://ubuntu.com/security/notices/USN-6546-1>
- <https://ubuntu.com/security/notices/USN-6546-2>
- <https://www.cve.org/CVERecord?id=CVE-2023-6186>
- <https://security-tracker.debian.org/tracker/CVE-2023-6186>

---

Data as of 2026-12-05T05:13:27.288Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
