cve.bz

CVE-2021-25634 Improper Certificate Validation

7.5 highEPSS 0.7%

High (7.5). EPSS 0.7% 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 modify a digitally signed ODF document to insert an additional signing time timestamp which LibreOffice would incorrectly present as a valid signature signed at the bogus signing time. This issue affects: The Document Foundation LibreOffice 7-0 versions prior to 7.0.6; 7-1 versions prior to 7.1.2.

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
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 54th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
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-25634 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-25634?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-25634?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-25634 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-0 before 7.0.6
The Document Foundation LibreOfficefrom 7-1 before 7.1.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libreoffice1:7.0.4-4+deb11u1DSA-4988-1
Debian12, 13, 14libreoffice1:7.2.0-2DEBIAN-CVE-2021-25634
Ubuntu20.04:LTSlibreoffice1:6.4.7-0ubuntu0.20.04.2UBUNTU-CVE-2021-25634 USN-5153-1
Red Hatenterprise_linux:8::appstreamautocorr-af, autocorr-bg, autocorr-ca and 186 more1:6.4.7.2-10.el8RHSA-2022:1766
Red Hatenterprise_linux:8::crblibreoffice-sdk, libreoffice-sdk-doc, libreoffice-debuginfo and 18 more1:6.4.7.2-10.el8RHSA-2022:1766
AlmaLinux8autocorr-af, autocorr-bg, autocorr-ca and 168 more1:6.4.7.2-10.el8.almaALSA-2022:1766
Rocky Linux8libreoffice1:6.4.7.2-10.el8RLSA-2022:1766
Alpinev3.15, v3.16, v3.17 and 7 morelibreoffice7.2.2.2-r0ALPINE-CVE-2021-25634

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; 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 · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8libreoffice-1:6.4.7.2-10.el8Fixed 2022-05-10RHSA-2022:1766
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 9libreofficeNot affected

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-25634.

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

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

References

Check your stackJSON