# CVE-2021-25635: Content Manipulation with Certificate Validation Attack

- Priority: **Routine**
- Reason: Not severe (CVSS 5.2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-03-21 · Modified: 2025-03-21
- Aliases: UBUNTU-CVE-2021-25635, ALPINE-CVE-2021-25635
- Record: https://cvemate.com/vulnerability/CVE-2021-25635 · JSON: https://cvemate.com/vulnerability/CVE-2021-25635/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.138%, percentile 3.415%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine libreoffice (Alpine Linux): ≥ 7.0.0, \< 7.2.2.2-r0 \| ≥ 7.1.0.0, \< 7.2.2.2-r0
- ubuntu libreoffice (Ubuntu): \< 1:7.2.1-0ubuntu3
- libreoffice libreoffice: ≥ 7.0.0, \< 7.0.5.1 \| ≥ 7.1.0.0, ≤ 7.1.1.1
- the document foundation libreoffice: ≥ 7.0, \< 7.0.5 \| ≥ 7.1, \< 7.1.1

## References

- <https://www.libreoffice.org/about-us/security/advisories/cve-2021-25635/>
- <https://ubuntu.com/security/CVE-2021-25635>
- <https://www.libreoffice.org/about-us/security/advisories/CVE-2021-25635>
- <https://www.openwall.com/lists/oss-security/2021/10/11/3>
- <https://www.cve.org/CVERecord?id=CVE-2021-25635>
- <https://security.alpinelinux.org/vuln/CVE-2021-25635>

---

Data as of 2026-12-05T04:51:07.899Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
