CVE-2021-25636

published 22 Feb 2022 · updated 3 Aug 2024

Incorrect trust validation of signature with ambiguous KeyInfo children

5.0MediumEPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 7.2.5.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
The Document Foundation>=7.2 <7.2.57.2.5

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-25636 severity on Zeptric[![CVE-2021-25636](https://zeptric.io/badge/cve/CVE-2021-25636.svg)](https://zeptric.io/cve/CVE-2021-25636)