CVE-2021-25636: Incorrect trust validation of signature with ambiguous KeyInfo children

Published Feb 22, 2022
·
Updated

LibreOffice supports digital signatures of ODF documents and macros within documents, presenting visual aids that no alteration of the document occurred since the last signing and that the signature is valid. An Improper Certificate Validation vulnerability in LibreOffice allowed an attacker to create a digitally signed ODF document, by manipulating the documentsignatures.xml or macrosignatures.xml stream within the document to contain both "X509Data" and "KeyValue" children of the "KeyInfo" tag, which when opened caused LibreOffice to verify using the "KeyValue" but to report verification with the unrelated "X509Data" value. This issue affects: The Document Foundation LibreOffice 7.2 versions prior to 7.2.5.

Affected Software

2 affected components
LibreOffice Libreoffice>=7.2.0<7.2.5
Fedoraproject Fedora=34

Event History

Feb 22, 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-2021-25636?

CVE-2021-25636 is an Improper Certificate Validation vulnerability in LibreOffice that allows an attacker to create a malicious digital signature.

2

How does CVE-2021-25636 impact LibreOffice?

CVE-2021-25636 allows an attacker to create a fake digital signature that appears valid, misleading users into thinking that the document has not been altered.

3

Is CVE-2021-25636 affecting all versions of LibreOffice?

No, CVE-2021-25636 affects LibreOffice versions 7.2.0 to 7.2.5.

4

What is the severity of CVE-2021-25636?

CVE-2021-25636 has a severity rating of 7.5 (high).

5

How can I fix CVE-2021-25636?

To fix CVE-2021-25636, update LibreOffice to a version higher than 7.2.5.

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