Read the docs
TI-2021-07772 Aliases CVE-2021-25636GHSA-3cgr-wxhv-h7xw

Incorrect trust validation of signature with ambiguous KeyInfo children

Priority LOW 35CWE-347Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass, Spoofing
Confidentiality · integrity · availability
None · High · None
Fix status
Partial Red Hat: 2 fixed, 4 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-347 and CWE-295.

Summary

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.

Why it matters now

EPSS 0.00954 61st percentileScored 2026-11-07
Fix Partial LibreOffice (The Document Foundation): 7.2.5Red Hat: 1 advisoryRed Hat: 2 fixed, 4 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
The Document FoundationLibreOffice7.2 to before 7.2.57.2.5Patch availableCNA

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*7.2.0 to before 7.2.5VulnerableThe Document Foundation
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*34VulnerableFedoraproject
  • cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:* Versions 7.2.0 to before 7.2.5 Vulnerable ·The Document Foundation
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject

Remediation

  • Fix · CNA LibreOffice (The Document Foundation) Fixed in 7.2.5

Red Hat 1 advisory

  • RHSA-2022:7461 Released 2022-11-08 · Red Hat rating Moderate
    libreoffice security update
    • Red Hat CodeReady Linux Builder (v. 8) libreoffice-sdk-1:6.4.7.2-11.el8, libreoffice-sdk-doc-1:6.4.7.2-11.el8
    • Red Hat Enterprise Linux AppStream (v. 8) autocorr-af-1:6.4.7.2-11.el8, autocorr-bg-1:6.4.7.2-11.el8, autocorr-ca-1:6.4.7.2-11.el8 +47

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 8AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 9AffectedNo fix yet
Red Hat CodeReady Linux Builder (v. 8)Fixed RHSA-2022:7461
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2022:7461

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-25636
  2. 2026-10-03 Alias added: GHSA-3cgr-wxhv-h7xw

References

  • TI-2019-07233 LibreLogo global-event script execution CVSS 3.1CRITICAL 9.8
  • TI-2018-12068 Path traversal in [UNKNOWN] libreoffice CVSS 3.0CRITICAL 9.8
  • TI-2018-07474 An information disclosure vulnerability occurs when LibreOffice 6.0.3 and Apache… CVSS 3.0HIGH 7.5
  • TI-2019-07230 Code injection in Document Foundation LibreOffice CVSS 3.1CRITICAL 9.8
  • TI-2018-05018 LibreOffice before 5.4.5 and 6.x before 6.0.1 allows remote attackers to read arbitrary… CVSS 3.0CRITICAL 9.8
  • TI-2023-01118 Arbitrary file write in libreoffice CVSS 3.1MEDIUM 5.5
See all 70 →

Sources