{"id":"ALPINE-CVE-2022-26305","details":"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.","modified":"2026-10-27T08:33:39.279657109Z","published":"2022-07-25T15:15:09.303Z","upstream":["CVE-2022-26305"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2022-26305"}],"affected":[{"package":{"name":"libreoffice","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/libreoffice?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.2.0"},{"fixed":"7.2.7.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-26305.json"}},{"package":{"name":"libreoffice","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/libreoffice?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.2.0"},{"fixed":"7.2.7.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-26305.json"}},{"package":{"name":"libreoffice","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/libreoffice?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.2.0"},{"fixed":"7.2.7.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-26305.json"}},{"package":{"name":"libreoffice","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/libreoffice?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.2.0"},{"fixed":"7.2.7.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-26305.json"}},{"package":{"name":"libreoffice","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/libreoffice?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.2.0"},{"fixed":"7.2.7.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-26305.json"}},{"package":{"name":"libreoffice","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/libreoffice?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.2.0"},{"fixed":"7.2.7.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-26305.json"}},{"package":{"name":"libreoffice","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/libreoffice?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.2.0"},{"fixed":"7.2.7.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-26305.json"}},{"package":{"name":"libreoffice","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/libreoffice?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.2.0"},{"fixed":"7.2.7.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-26305.json"}},{"package":{"name":"libreoffice","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/libreoffice?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.2.0"},{"fixed":"7.2.7.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-26305.json"}},{"package":{"name":"libreoffice","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/libreoffice?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.2.0"},{"fixed":"7.2.7.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-26305.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}