BreachSpiderVerified, not vibes

CVE-2021-25635 in Libreoffice

Medium 5.5 Fix available

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

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.15.5
CVSS v45.2
EPSS0.1%
EPSS percentile2th
FixAvailable

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Libreoffice Libreoffice ≥ 7.0.0, < 7.0.5.1 ≥ 7.1.0.0, ≤ 7.1.1.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-25635
BreachSpider IDBS-2025-GLOBAL-267246-M
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Published2025-03-21
Last modified2025-12-10
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-295: CWE-295

Related attack patterns (CAPEC)

CAPEC-459 Creating a Rogue Certification Authority Certificate via CWE-295

CAPEC-475 Signature Spoofing by Improper Validation via CWE-295

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in LibreOffice allows attackers to self-sign ODF documents with an untrusted signature, modify the signature algorithm to an invalid one, and have LibreOffice incorrectly present it as a valid signature from a trusted source.

An attacker can create a malicious ODF document with a self-signed certificate. By changing the signature algorithm to an invalid or unknown one, LibreOffice will incorrectly validate the document as signed by a trusted entity, potentially leading to the execution of malicious code or the acceptance of false information.

Questions

What is CVE-2021-25635?

A vulnerability in LibreOffice allows attackers to self-sign ODF documents with an untrusted signature, modify the signature algorithm to an invalid one, and have LibreOffice incorrectly present it as a valid signature from a trusted source.

What is the CVSS score for CVE-2021-25635?

CVE-2021-25635 has CVSS 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N. EPSS: 0.1%.

Is CVE-2021-25635 actively exploited?

No confirmed active exploitation of CVE-2021-25635 as of 2026-05-30.

How do I remediate CVE-2021-25635?

Priority: MEDIUM. PSIRT: [email protected]

What systems are affected by CVE-2021-25635?

CVE-2021-25635 affects Libreoffice Libreoffice.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Libreoffice","product":"Libreoffice","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-12-10.