CVE-2022-26305 - CVE House
Back to Database
Status published High CVE-2022-26305

Execution of Untrusted Macros Due to Improper Certificate Validation

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-26305

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • OpenSource Security GmbH on behalf of the German Federal Office for Information Security

Affected Vendor

The Document Foundation

View all reports →

Affected Software

LibreOffice
Vulnerable Versions:
7.2, 7.3

Timeline

Official Publish: July 25th, 2022
Last Modified: August 3rd, 2024
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses (CWE)