cve.bz

CVE-2021-25636 Improper Certificate Validation

7.5 highEPSS 1.0%

High (7.5). EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 62nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-295 Improper Certificate Validation
CWE-347 Improper Verification of Cryptographic Signature
OWASP Top 10
A04:2025 Cryptographic Failures, A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-25636 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-25636?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-25636?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-25636 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
The Document Foundation LibreOfficefrom 7.2 before 7.2.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10libreoffice1:6.1.5-3+deb10u8DLA-3368-1
Debian12, 13, 14libreoffice1:7.3.0-1DEBIAN-CVE-2021-25636
Ubuntu18.04:LTSlibreoffice1:6.0.7-0ubuntu0.18.04.11UBUNTU-CVE-2021-25636 USN-5330-1
Ubuntu20.04:LTSlibreoffice1:6.4.7-0ubuntu0.20.04.4UBUNTU-CVE-2021-25636 USN-5330-1
Red Hatenterprise_linux:8::appstreamautocorr-af, autocorr-bg, autocorr-ca and 186 more1:6.4.7.2-11.el8RHSA-2022:7461
Red Hatenterprise_linux:8::crblibreoffice-sdk, libreoffice-sdk-doc, libreoffice-debuginfo and 18 more1:6.4.7.2-11.el8RHSA-2022:7461
SUSELinux Enterprise Module for Package Hub 15 SP3, Linux Enterprise Workstation Extension 15 SP3libreoffice7.2.5.1-150300.14.22.18.3SUSE-SU-2022:0886-1
SUSELinux Enterprise Software Development Kit 12 SP5, Linux Enterprise Workstation Extension 12 SP5libreoffice7.2.5.1-48.19.4SUSE-SU-2022:1093-1
openSUSELeap 15.3libreoffice7.2.5.1-150300.14.22.18.3openSUSE-SU-2022:0886-1
AlmaLinux8autocorr-af, autocorr-bg, autocorr-ca and 168 more1:6.4.7.2-11.el8.almaALSA-2022:7461
Rocky Linux8libreoffice1:6.4.7.2-11.el8RLSA-2022:7461
Alpinev3.15libreoffice7.2.7.2-r0ALPINE-CVE-2021-25636
Alpinev3.16, v3.17, v3.18 and 6 morelibreoffice7.2.5.2-r0ALPINE-CVE-2021-25636

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8libreoffice-1:6.4.7.2-11.el8Fixed 2022-11-08RHSA-2022:7461
Red Hat Enterprise Linux 6libreofficeOut of support scope
Red Hat Enterprise Linux 7libreofficeOut of support scope
Red Hat Enterprise Linux 8libreoffice:flatpak/libreofficeWill not fix
Red Hat Enterprise Linux 9libreofficeAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-25636.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High
  • CAPEC-463 Padding Oracle Crypto Attack Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON