{"schemaVersion":3,"id":"CVE-2022-26305","aliases":["UBUNTU-CVE-2022-26305","DEBIAN-CVE-2022-26305"],"status":"published","duplicateOf":null,"title":null,"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}]},"epss":{"probability":0.01241,"percentile":0.68734,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.05899999999999985,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01182},"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":0.68734}],"last30":[{"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":0.68734}]},"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":"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}],"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},{"text":"< 1:6.4.7-0ubuntu0.20.04.5","noFixRecorded":false,"fixedIn":null}],"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},{"text":"≥ 7.3.0, < 7.3.2","noFixRecorded":false,"fixedIn":null}],"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},{"text":"≥ 7.3, < 7.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.2, < 7.2.7 | ≥ 7.3, < 7.3.1","eol":null,"hubHref":"/vendor/the_document_foundation/libreoffice"}],"affectedCount":4,"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"]}],"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}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T14:47:09.613Z","stale":false,"partial":false}}