CVE-2022-26305: Execution of Untrusted Macros Due to Improper Certificate Validation

Published Jul 25, 2022
·
Updated

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 Software

2 affected components
LibreOffice Libreoffice>=7.2.0<7.2.7
LibreOffice Libreoffice>=7.3.0<7.3.2

Event History

Jul 25, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-26305?

CVE-2022-26305 is an Improper Certificate Validation vulnerability in LibreOffice.

2

How does CVE-2022-26305 impact LibreOffice?

CVE-2022-26305 allows an attacker to successfully pass off a malicious macro as being signed by a trusted author.

3

What is the severity of CVE-2022-26305?

CVE-2022-26305 has a severity rating of 7.5, which is considered high.

4

Which versions of LibreOffice are affected by CVE-2022-26305?

LibreOffice versions 7.2.0 to 7.2.7 and 7.3.0 to 7.3.2 are affected by CVE-2022-26305.

5

How can I fix CVE-2022-26305?

To fix CVE-2022-26305, it is recommended to update LibreOffice to a version that has the necessary security patches.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203