CVE-2022-26305

Execution of Untrusted Macros Due to Improper Certificate Validation

Published Jul 25, 2022 CVSS 3.1 · 7.5 High EPSS 1.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3368-1 libreoffice security update
EUVD EUVD EUVD-2022-30866 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.
Ubuntu USN Ubuntu USN USN-5661-1 LibreOffice vulnerabilities
Ubuntu USN Ubuntu USN USN-5694-1 LibreOffice vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00582}

epss

{'score': 0.00445}

Type Values Removed Values Added
Metrics epss

{'score': 0.00617}

epss

{'score': 0.00582}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Document Fdn.
Published
Updated
Aug 3, 2024, 5:03 AM
Reserved
Feb 28, 2022, 12:00 AM
Status
Modified
Published
Jul 25, 2022, 3:15 PM
Modified
Jun 17, 2026, 4:34 AM
Severity
Moderate
Public date
Jul 25, 2022, 12:00 AM