{"api_version":"1","generated_at":"2026-04-23T06:21:28+00:00","cve":"CVE-2022-26305","urls":{"html":"https://cve.report/CVE-2022-26305","api":"https://cve.report/api/cve/CVE-2022-26305.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-26305","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-26305"},"summary":{"title":"CVE-2022-26305","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.","state":"PUBLIC","assigner":"security@documentfoundation.org","published_at":"2022-07-25 15:15:00","updated_at":"2023-03-26 23:15:00"},"problem_types":["CWE-295"],"metrics":[],"references":[{"url":"https://www.libreoffice.org/about-us/security/advisories/cve-2022-26305","name":"https://www.libreoffice.org/about-us/security/advisories/cve-2022-26305","refsource":"MISC","tags":[],"title":"CVE-2022-26305 | LibreOffice - Free Office Suite - Based on OpenOffice - Compatible with Microsoft","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00022.html","name":"[debian-lts-announce] 20230326 [SECURITY] [DLA 3368-1] libreoffice security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 3368-1] libreoffice security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-26305","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-26305","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"26305","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libreoffice","cpe5":"libreoffice","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-26305","qid":"160398","title":"Oracle Enterprise Linux Security Update for libreoffice (ELSA-2023-0089)"},{"cve":"CVE-2022-26305","qid":"160422","title":"Oracle Enterprise Linux Security Update for libreoffice (ELSA-2023-0304)"},{"cve":"CVE-2022-26305","qid":"181005","title":"Debian Security Update for libreoffice (CVE-2022-26305)"},{"cve":"CVE-2022-26305","qid":"181639","title":"Debian Security Update for libreoffice (DLA 3368-1)"},{"cve":"CVE-2022-26305","qid":"198976","title":"Ubuntu Security Notification for LibreOffice Vulnerabilities (USN-5661-1)"},{"cve":"CVE-2022-26305","qid":"199000","title":"Ubuntu Security Notification for LibreOffice Vulnerabilities (USN-5694-1)"},{"cve":"CVE-2022-26305","qid":"241056","title":"Red Hat Update for libreoffice (RHSA-2023:0089)"},{"cve":"CVE-2022-26305","qid":"241115","title":"Red Hat Update for libreoffice (RHSA-2023:0304)"},{"cve":"CVE-2022-26305","qid":"376799","title":"LibreOffice Improper Certificate Validation Vulnerability"},{"cve":"CVE-2022-26305","qid":"502565","title":"Alpine Linux Security Update for libreoffice"},{"cve":"CVE-2022-26305","qid":"502588","title":"Alpine Linux Security Update for libreoffice"},{"cve":"CVE-2022-26305","qid":"752680","title":"SUSE Enterprise Linux Security Update for libreoffice (SUSE-SU-2022:3602-1)"},{"cve":"CVE-2022-26305","qid":"753136","title":"SUSE Enterprise Linux Security Update for libreoffice (SUSE-SU-2022:3650-1)"},{"cve":"CVE-2022-26305","qid":"940875","title":"AlmaLinux Security Update for libreoffice (ALSA-2023:0089)"},{"cve":"CVE-2022-26305","qid":"940908","title":"AlmaLinux Security Update for libreoffice (ALSA-2023:0304)"},{"cve":"CVE-2022-26305","qid":"960556","title":"Rocky Linux Security Update for libreoffice (RLSA-2023:0304)"},{"cve":"CVE-2022-26305","qid":"960559","title":"Rocky Linux Security Update for libreoffice (RLSA-2023:0089)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2022-26305","ASSIGNER":"security@documentfoundation.org","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-295 Improper Certificate Validation","cweId":"CWE-295"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"The Document Foundation","product":{"product_data":[{"product_name":"LibreOffice","version":{"version_data":[{"version_affected":"<","version_name":"7.2","version_value":"7.2.7"},{"version_affected":"<","version_name":"7.3","version_value":"7.3.1"}]}}]}}]}},"references":{"reference_data":[{"url":"https://www.libreoffice.org/about-us/security/advisories/cve-2022-26305","refsource":"MISC","name":"https://www.libreoffice.org/about-us/security/advisories/cve-2022-26305"},{"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00022.html","refsource":"MISC","name":"https://lists.debian.org/debian-lts-announce/2023/03/msg00022.html"}]},"generator":{"engine":"Vulnogram 0.0.9"},"source":{"discovery":"EXTERNAL"},"credits":[{"lang":"en","value":"OpenSource Security GmbH on behalf of the German Federal Office for Information Security"}]},"nvd":{"publishedDate":"2022-07-25 15:15:00","lastModifiedDate":"2023-03-26 23:15:00","problem_types":["CWE-295"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":1.6,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2.0","versionEndExcluding":"7.2.7","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*","versionStartIncluding":"7.3.0","versionEndExcluding":"7.3.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}