CVE-2022-26305

published 25 Jul 2022 · updated 3 Aug 2024

Execution of Untrusted Macros Due to Improper Certificate Validation

5.0MediumEPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 7.2.7 and 7.3.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
The Document Foundation>=7.2 <7.2.7, >=7.3 <7.3.17.2.7, 7.3.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-26305 severity on Zeptric[![CVE-2022-26305](https://zeptric.io/badge/cve/CVE-2022-26305.svg)](https://zeptric.io/cve/CVE-2022-26305)