{"schemaVersion":3,"id":"CVE-2023-6186","aliases":["UBUNTU-CVE-2023-6186","DEBIAN-CVE-2023-6186"],"status":"published","duplicateOf":null,"title":null,"description":"Insufficient macro permission validation of The Document Foundation LibreOffice allows an attacker to execute built-in macros without warning.\n\nIn affected versions LibreOffice supports hyperlinks with macro or similar built-in command targets that can be executed when activated without warning the user.","dates":{"published":"2023-12-11T11:56:40.349Z","modified":"2025-02-13T17:26:08.751Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.3,"severity":"high","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.3,"severity":"high","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:H/A:H","exploitability":4.4,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00772,"percentile":0.54854,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00772},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00772,"percentile":0.54854}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00772,"percentile":0.54854}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-281","name":"Improper Preservation of Permissions","description":"The product does not preserve permissions or incorrectly preserves permissions when copying, restoring, or sharing objects, which can cause them to have less restrictive permissions than intended.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/281.html"}],"affected":[{"vendor":"debian","product":"libreoffice","name":"libreoffice","label":"libreoffice","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libreoffice","purlType":"deb","versions":[{"text":"< 4:7.4.7-1+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 4:7.6.4~rc1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4:7.4.7-1+deb12u1 | < 4:7.6.4~rc1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libreoffice","name":"libreoffice","label":"libreoffice","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libreoffice","purlType":"deb","versions":[{"text":"< 1:6.4.7-0ubuntu0.20.04.9","noFixRecorded":false,"fixedIn":null},{"text":"< 1:7.3.7-0ubuntu0.22.04.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:6.4.7-0ubuntu0.20.04.9 | < 1:7.3.7-0ubuntu0.22.04.4","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"11.0","noFixRecorded":false,"fixedIn":null},{"text":"12.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"11.0 | 12.0","eol":{"isEol":true,"eolDate":"2026-08-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"11","label":"11 (Bullseye)","eolFrom":"2026-08-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"11.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"38","noFixRecorded":false,"fixedIn":null}],"versionsText":"38","eol":{"isEol":true,"eolDate":"2024-05-21T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"38","label":"38","eolFrom":"2024-05-21T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"libreoffice","product":"libreoffice","name":"libreoffice","label":"libreoffice","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.5.0, < 7.5.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.6.0, < 7.6.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.5.0, < 7.5.9 | ≥ 7.6.0, < 7.6.4","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"libreoffice","label":"LibreOffice","category":"app"}},"hubHref":"/vendor/libreoffice/libreoffice"},{"vendor":"the document foundation","product":"libreoffice","name":"LibreOffice","label":"libreoffice","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.5, < 7.5.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.6, < 7.6.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.5, < 7.5.9 | ≥ 7.6, < 7.6.4","eol":null,"hubHref":"/vendor/the_document_foundation/libreoffice"}],"affectedCount":6,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://www.libreoffice.org/about-us/security/advisories/cve-2023-6186","label":"www.libreoffice.org/about-us/security/advisories/cve-2023-6186","hostname":"www.libreoffice.org","tags":["Vendor Advisory"]},{"url":"https://www.debian.org/security/2023/dsa-5574","label":"www.debian.org/security/2023/dsa-5574","hostname":"www.debian.org","tags":["Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QB7UB6CTWQUDOE657OVVRSDYUY3IPBJG/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00026.html","label":"lists.debian.org/debian-lts-announce/2023/12/msg00026.html","hostname":"lists.debian.org","tags":[]},{"url":"https://ubuntu.com/security/CVE-2023-6186","label":"ubuntu.com/security/CVE-2023-6186","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.libreoffice.org/about-us/security/advisories/cve-2023-6186/","label":"www.libreoffice.org/about-us/security/advisories/cve-2023-6186/","hostname":"www.libreoffice.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6546-1","label":"ubuntu.com/security/notices/USN-6546-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-6546-2","label":"ubuntu.com/security/notices/USN-6546-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-6186","label":"www.cve.org/CVERecord?id=CVE-2023-6186","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-6186","label":"security-tracker.debian.org/tracker/CVE-2023-6186","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3703-1","DSA-5574-1","MGASA-2024-0116","RHSA-2024:1423","RHSA-2024:1425","RHSA-2024:1427","RHSA-2024:1473","RHSA-2024:1480","RHSA-2024:1512","RHSA-2024:1513","RHSA-2024:1514","RHSA-2024:3835","SUSE-SU-2023:4932-1","SUSE-SU-2023:4984-1","USN-6546-2"],"duplicates":[],"related":["SUSE-SU-2023:4932-1","SUSE-SU-2023:4984-1","USN-6546-1","USN-6546-2"]},"timeline":[{"kind":"published","date":"2023-12-11T11:56:40.349Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-13T17:26:08.751Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T11:12:28.634Z","stale":false,"partial":false}}