CVE-2022-26305

Execution of Untrusted Macros Due to Improper Certificate Validation

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.

Category

7.5
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.58%
Vendor Advisory libreoffice.org
Affected: The Document Foundation LibreOffice
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-26305?
CVE-2022-26305 has been scored as a high severity vulnerability.
How to fix CVE-2022-26305?
To fix CVE-2022-26305, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-26305 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-26305 is being actively exploited. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-26305?
CVE-2022-26305 affects The Document Foundation LibreOffice.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.