CVE-2021-25636

Incorrect trust validation of signature with ambiguous KeyInfo children

HIGH
7.5
CVSS Score
Published: February 22, 2022 at 12:00 AM UTC
Updated: June 17, 2026 at 03:42 AM UTC
3 products affected across 3 vendorsFedoraLibreofficeLibreOffice

Using LibreOffice by The Document Foundation?

Get instant alerts when new vulnerabilities affect LibreOffice - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 1.0%

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

7.2.0 ≤ v < 7.2.5
Affected range stops below 7.2.5, so it looks safe — our inference, not a vendor statement
7.2 ≤ v < 7.2.57.2
Affected range stops below 7.2.5, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-347CWE-295

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card