Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-25635
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:27 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-25635
Complete source record
{
"id": "17b2291288f246ccd8f93c630787a49868b1dc83c3b9185ac85b757d8f1648fc",
"url": "https://osv.dev/vulnerability/CVE-2021-25635",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-25635",
"summary": "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.",
"evidence": "osv:CVE-2021-25635",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-25635",
"aliases": [
"CVE-2021-25635"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/libreoffice/core",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "22aa6743f53547be737cebf9a34be16c35f90d6c"
},
{
"last_affected": "575c5867c4cc13d7ae78f9ce39a54a52ed38c769"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.0.5.1"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.1.0.0"
},
{
"last_affected": "7.1.1.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"libreoffice-7.1.1.1",
"libreoffice-7-1-branch-point",
"libreoffice-7-0-branch-point",
"libreoffice-6-4-branch-point",
"libreoffice-6-3-branch-point",
"libreoffice-6-2-branch-point",
"libreoffice-6-1-branch-point",
"libreoffice-6-0-branch-point",
"gpg4libre-review-5.4.99",
"libreoffice-5-4-branch-point",
"libreoffice-5-3-branch-point",
"libreoffice-5-2-branch-point",
"libreoffice-5-1-branch-point",
"libreoffice-5-0-branch-point",
"libreoffice-4-4-branch-point",
"libreoffice-4-3-branch-point",
"sdremote-2.0.0",
"libreoffice-4-2-branch-point",
"libreoffice-4-2-milestone-1",
"libreoffice-4-1-branch-point",
"libreoffice-4-0-branch-point",
"libreoffice-3-6-branch-point",
"libreoffice-3.5.0.0",
"libreoffice-3-5-branch-point",
"windows_build_successful_2011_11_08",
"MELD_LIBREOFFICE_REPOS"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-25635.json"
}
}
],
"modified": "2026-10-24T10:30:53.701391186Z",
"provider": "osv",
"references": [
"https://www.libreoffice.org/about-us/security/advisories/cve-2021-25635/"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-25635",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 437979,
"published_at": "2025-03-21T15:15:35.707+00:00"
}