cve.bz

CVE-2021-25635 libreoffice libreoffice: Improper Certificate Validation

5.2 mediumEPSS 0.1%

Medium (5.2) in libreoffice libreoffice. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
An Improper Certificate Validation vulnerability in LibreOffice allowed an attacker to self sign an ODF document, with a signature untrusted by the target, then modify it to change the signature algorithm to an invalid (or unknown to LibreOffice) algorithm and LibreOffice would incorrectly present such a signature with an unknown algorithm as a valid signature issued by a trusted person This issue affects LibreOffice: from 7.0 before 7.0.5, from 7.1 before 7.1.1.

Severity

CVSS 4.0

5.2 medium
CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:H/SI:H/SA:H

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 3rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-03-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-25635 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-25635?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-25635?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-25635 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.5
The Document Foundation LibreOfficefrom 7.1 before 7.1.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
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-25635

From the distributions' data via OSV.dev: 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: 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-25635.

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