Vulnerabilities/CVE-2021-25635, published 21 March 2025

CVE-2021-25635: Libreoffice improper certificate validation vulnerability

Libreoffice, Libreoffice

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.

  • 5.2 CVSS 4.0 Medium
  • EPSS 0.14%, top 96.6%
  • CWE-295, Improper certificate validation

Description

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.

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-25635 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2024-5261Libreoffice improper certificate validation vulnerabilityImproper Certificate Validation vulnerability in LibreOffice "LibreOfficeKit" mode disables TLS certification verification LibreOfficeKit can be used…EPSS 0.43%10.0CVE-2014-0247Fedoraproject fedora vulnerabilityLibreOffice 4.2.4 executes unspecified VBA macros automatically, which has unspecified impact and attack vectors, possibly related to doc/docmacromod…EPSS 3.9%9.8CVE-2019-9855Libreoffice vulnerabilityLibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute arbitrary python commands contained …EPSS 3.0%9.8CVE-2019-9850Canonical ubuntu linux improper input validation vulnerabilityLibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute arbitrary python commands contained …EPSS 2.9%9.8CVE-2019-9851LibreOffice LibreLogo global script event validation bypass allows Python executionLibreOffice bundles LibreLogo, a programmable turtle graphics script that can execute arbitrary Python commands embedded in a document. A prior fix f…EPSS 78%analysed9.8CVE-2019-9848Libreoffice code injection vulnerabilityLibreOffice has a feature where documents can specify that pre-installed scripts can be executed on various document events such as mouse-over, etc. …EPSS 29%9.8CVE-2018-16858LibreOffice directory traversal enables macro code executionLibreOffice before 6.0.7 and 6.1.3 is vulnerable to a directory traversal flaw that lets a crafted document execute arbitrary macros bundled with it.…EPSS 67%analysed9.8CVE-2018-14939Libreoffice memory buffer overflow vulnerabilityThe get_app_path function in desktop/unx/source/start.c in LibreOffice through 6.0.5 mishandles the realpath function in certain environments such as…EPSS 2.2%

Source: NIST National Vulnerability Database (record CVE-2021-25635), CISA KEV, FIRST EPSS (scores of 2026-12-03). This page is refreshed as NVD updates the record.