# CVE-2021-25636: Incorrect trust validation of signature with ambiguous KeyInfo children

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-02-22 · Modified: 2024-08-03
- Aliases: SUSE-SU-2022:0886-1, SUSE-SU-2022:1093-1, RHSA-2022:7461, UBUNTU-CVE-2021-25636, USN-5330-1, DEBIAN-CVE-2021-25636, openSUSE-SU-2022:0886-1, ALPINE-CVE-2021-25636
- Record: https://cvemate.com/vulnerability/CVE-2021-25636 · JSON: https://cvemate.com/vulnerability/CVE-2021-25636/json

## Description

```text
LibreOffice supports digital signatures of ODF documents and macros within documents, presenting visual aids that no alteration of the document occurred since the last signing and that the signature is valid. An Improper Certificate Validation vulnerability in LibreOffice allowed an attacker to create a digitally signed ODF document, by manipulating the documentsignatures.xml or macrosignatures.xml stream within the document to contain both "X509Data" and "KeyValue" children of the "KeyInfo" tag, which when opened caused LibreOffice to verify using the "KeyValue" but to report verification with the unrelated "X509Data" value. This issue affects: The Document Foundation LibreOffice 7.2 versions prior to 7.2.5.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.954%, percentile 62.556%, 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 (first 20 of 202)

- alpine libreoffice (Alpine Linux): ≥ 7.2.0, \< 7.2.7.2-r0 \| ≥ 7.2.0, \< 7.2.5.2-r0
- debian libreoffice (Debian): \< 1:7.3.0-1
- ubuntu libreoffice (Ubuntu): \< 1:6.0.7-0ubuntu0.18.04.11 \| \< 1:6.4.7-0ubuntu0.20.04.4
- fedoraproject fedora: 34
- libreoffice libreoffice: ≥ 7.2.0, \< 7.2.5
- opensuse libreoffice&distro=openSUSE Leap 15.3 (openSUSE): \< 7.2.5.1-150300.14.22.18.3
- redhat autocorr-af (Red Hat): \< 1:6.4.7.2-11.el8
- redhat autocorr-bg (Red Hat): \< 1:6.4.7.2-11.el8
- redhat autocorr-ca (Red Hat): \< 1:6.4.7.2-11.el8
- redhat autocorr-cs (Red Hat): \< 1:6.4.7.2-11.el8
- redhat autocorr-da (Red Hat): \< 1:6.4.7.2-11.el8
- redhat autocorr-de (Red Hat): \< 1:6.4.7.2-11.el8
- redhat autocorr-en (Red Hat): \< 1:6.4.7.2-11.el8
- redhat autocorr-es (Red Hat): \< 1:6.4.7.2-11.el8
- redhat autocorr-fa (Red Hat): \< 1:6.4.7.2-11.el8
- redhat autocorr-fi (Red Hat): \< 1:6.4.7.2-11.el8
- redhat autocorr-fr (Red Hat): \< 1:6.4.7.2-11.el8
- redhat autocorr-ga (Red Hat): \< 1:6.4.7.2-11.el8
- redhat autocorr-hr (Red Hat): \< 1:6.4.7.2-11.el8
- redhat autocorr-hu (Red Hat): \< 1:6.4.7.2-11.el8

## References (first 20 of 22)

- <https://www.libreoffice.org/about-us/security/advisories/CVE-2021-25636/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NE6UIBCPZWRBWPSEGJOPNWPPT3CCMVH2/>
- <https://lists.debian.org/debian-lts-announce/2023/03/msg00022.html>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20220886-1/>
- <https://bugzilla.suse.com/1196456>
- <https://www.suse.com/security/cve/CVE-2021-25636>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20221093-1/>
- <https://access.redhat.com/errata/RHSA-2022:7461>
- <https://access.redhat.com/security/updates/classification/#moderate>
- <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.7_release_notes/index>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2056955>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_7461.json>
- <https://access.redhat.com/security/cve/CVE-2021-25636>
- <https://www.cve.org/CVERecord?id=CVE-2021-25636>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-25636>
- <https://www.libreoffice.org/about-us/security/advisories/cve-2021-25636/>
- <https://ubuntu.com/security/CVE-2021-25636>
- <https://www.libreoffice.org/about-us/security/advisories/CVE-2021-25636>
- <https://ubuntu.com/security/notices/USN-5330-1>
- <https://security-tracker.debian.org/tracker/CVE-2021-25636>

---

Data as of 2026-12-05T05:19:05.908Z. 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
