{"schemaVersion":4,"id":"CVE-2022-26305","aliases":["UBUNTU-CVE-2022-26305","DEBIAN-CVE-2022-26305","ALPINE-CVE-2022-26305"],"status":"published","duplicateOf":null,"title":"Execution of Untrusted Macros Due to Improper Certificate Validation","description":"An Improper Certificate Validation vulnerability in LibreOffice existed where determining if a macro was signed by a trusted author was done by only matching the serial number and issuer string of the used certificate with that of a trusted certificate. This is not sufficient to verify that the macro was actually signed with the certificate. An adversary could therefore create an arbitrary certificate with a serial number and an issuer string identical to a trusted certificate which LibreOffice would present as belonging to the trusted author, potentially leading to the user to execute arbitrary code contained in macros improperly trusted. This issue affects: The Document Foundation LibreOffice 7.2 versions prior to 7.2.7; 7.3 versions prior to 7.3.1.","dates":{"published":"2022-07-25T00:00:00.000Z","modified":"2024-08-03T05:03:31.146Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.1,"impact":9.8,"computed":true}]},"epss":{"probability":0.01241,"percentile":0.70159,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.01241},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01108,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01108,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01108,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01108,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01182,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01182,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01182,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01182,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01182,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01182,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01182,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01182,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01182,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01182,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01182,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01182,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01182,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01182,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01182,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01182,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01172,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01172,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01172,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01172,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01172,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01172,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01172,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00755,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00755,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00755,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00755,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00755,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00755,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01241,"percentile":0.70159}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00755,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00755,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00755,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00755,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00755,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00755,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01241,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01241,"percentile":0.70159}]},"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-295","name":"Improper Certificate Validation","description":"The product does not validate, or incorrectly validates, a certificate.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/295.html"}],"affected":[{"vendor":"alpine","product":"libreoffice","name":"libreoffice","label":"libreoffice","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/libreoffice","purlType":"apk","versions":[{"text":"≥ 7.2.0, < 7.2.7.2-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.2.0","startInclusive":true,"end":"7.2.7.2-r0","endInclusive":false}}],"versionsText":"≥ 7.2.0, < 7.2.7.2-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"libreoffice","name":"libreoffice","label":"libreoffice","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libreoffice","purlType":"deb","versions":[{"text":"< 1:7.3.2~rc2-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:7.3.2~rc2-1","endInclusive":false}}],"versionsText":"< 1:7.3.2~rc2-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.0.7-0ubuntu0.18.04.12","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:6.0.7-0ubuntu0.18.04.12","endInclusive":false}},{"text":"< 1:6.4.7-0ubuntu0.20.04.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:6.4.7-0ubuntu0.20.04.5","endInclusive":false}}],"versionsText":"< 1:6.0.7-0ubuntu0.18.04.12 | < 1:6.4.7-0ubuntu0.20.04.5","eol":null,"hubHref":null},{"vendor":"libreoffice","product":"libreoffice","name":"libreoffice","label":"libreoffice","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.2.0, < 7.2.7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.2.0","startInclusive":true,"end":"7.2.7","endInclusive":false}},{"text":"≥ 7.3.0, < 7.3.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.3.0","startInclusive":true,"end":"7.3.2","endInclusive":false}}],"versionsText":"≥ 7.2.0, < 7.2.7 | ≥ 7.3.0, < 7.3.2","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.2, < 7.2.7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.2","startInclusive":true,"end":"7.2.7","endInclusive":false}},{"text":"≥ 7.3, < 7.3.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.3","startInclusive":true,"end":"7.3.1","endInclusive":false}}],"versionsText":"≥ 7.2, < 7.2.7 | ≥ 7.3, < 7.3.1","eol":null,"hubHref":"/vendor/the_document_foundation/libreoffice"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.libreoffice.org/about-us/security/advisories/cve-2022-26305","label":"www.libreoffice.org/about-us/security/advisories/cve-2022-26305","hostname":"www.libreoffice.org","tags":["REPORT","Vendor Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00022.html","label":"lists.debian.org/debian-lts-announce/2023/03/msg00022.html","hostname":"lists.debian.org","tags":["Mailing List"]},{"url":"https://ubuntu.com/security/CVE-2022-26305","label":"ubuntu.com/security/CVE-2022-26305","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5661-1","label":"ubuntu.com/security/notices/USN-5661-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-5694-1","label":"ubuntu.com/security/notices/USN-5694-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-26305","label":"www.cve.org/CVERecord?id=CVE-2022-26305","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-26305","label":"security-tracker.debian.org/tracker/CVE-2022-26305","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-26305","label":"security.alpinelinux.org/vuln/CVE-2022-26305","hostname":"security.alpinelinux.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3368-1","OPENSUSE-SU-2024:12452-1","RHSA-2023:0089","RHSA-2023:0304","SUSE-SU-2022:3602-1","SUSE-SU-2022:3650-1","USN-5661-1","USN-5694-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:12452-1","SUSE-SU-2022:3602-1","SUSE-SU-2022:3650-1","USN-5661-1","USN-5694-1"]},"timeline":[{"kind":"published","date":"2022-07-25T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T05:03:31.146Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,75],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.01241,"stale":false,"promoted":null},{"type":"cvss","source":"osv_ubuntu","date":"2024-08-03T05:03:31.146Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2024-08-03T05:03:31.146Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-08-03T05:03:31.146Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"osv_alpine","date":"2024-08-03T05:03:31.146Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}],"epss":{"value":0.01241,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:28:49.053Z","stale":false,"partial":false}}