CVE-2021-25636

Incorrect trust validation of signature with ambiguous KeyInfo children

Published Feb 22, 2022 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3368-1 libreoffice security update
EUVD EUVD EUVD-2021-12532 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.
Ubuntu USN Ubuntu USN USN-5330-1 LibreOffice vulnerability
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00088}

epss

{'score': 0.00162}

Type Values Removed Values Added
Metrics epss

{'score': 0.00093}

epss

{'score': 0.00088}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Document Fdn.
Published
Updated
Aug 3, 2024, 8:11 PM
Reserved
Jan 19, 2021, 12:00 AM
Status
Modified
Published
Feb 24, 2022, 3:15 PM
Modified
Jun 17, 2026, 3:42 AM
Severity
Moderate
Public date
Feb 22, 2022, 12:00 AM