CVE-2021-25636
CVE-2021-25636 · Incorrect trust validation of signature with ambiguous KeyInfo children
CVSS 7.5 · High · EPSS 1.0% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- libreofficeUpdate to 7.2.5
- libreoffice Alpine 3.15Update to 7.2.7.2-r0
- libreoffice Alpine 3.16Update to 7.2.5.2-r0
- libreoffice Alpine 3.17Update to 7.2.5.2-r0
- and 12 more
Check the installed version:
apk list -I -o libreofficeAssess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- RHSA-2022:7461 · Red Hat Enterprise Linux 8 appstream, Red Hat Enterprise Linux 8 crb ·
- DLA-3368-1 · Debian 10 ·
- RLSA-2022:7461 · Rocky Linux 8 ·
- ALSA-2022:7461 · AlmaLinux 8 ·
- SUSE-SU-2022:1093-1 · SUSE Linux Enterprise Software Development Kit 12 SP5, SUSE Linux Enterprise Workstation Extension 12 SP5 ·
- openSUSE-SU-2022:0886-1 · openSUSE Leap 15.3 ·
- SUSE-SU-2022:0886-1 · SUSE Linux Enterprise Module for Package Hub 15 SP3, SUSE Linux Enterprise Workstation Extension 15 SP3 ·
- USN-5330-1 · Ubuntu 18.04 LTS, Ubuntu 20.04 LTS ·
Stack: system
Affected products and versions
libreoffice
- Versions
- ≥ 7.2, < 7.2.5: Affected (custom)
Update to 7.2.5
libreoffice Alpine 3.15
- Affected ranges
- ECOSYSTEM: ≥ 7.2.0, < 7.2.7.2-r0
Update to 7.2.7.2-r0
libreoffice Alpine 3.16
- Affected ranges
- ECOSYSTEM: ≥ 7.2.0, < 7.2.5.2-r0
Update to 7.2.5.2-r0
libreoffice Alpine 3.17
- Affected ranges
- ECOSYSTEM: ≥ 7.2.0, < 7.2.5.2-r0
Update to 7.2.5.2-r0
libreoffice Alpine 3.18
- Affected ranges
- ECOSYSTEM: ≥ 7.2.0, < 7.2.5.2-r0
Update to 7.2.5.2-r0
libreoffice Alpine 3.19
- Affected ranges
- ECOSYSTEM: ≥ 7.2.0, < 7.2.5.2-r0
Update to 7.2.5.2-r0
libreoffice Alpine 3.20
- Affected ranges
- ECOSYSTEM: ≥ 7.2.0, < 7.2.5.2-r0
Update to 7.2.5.2-r0
libreoffice Alpine 3.21
- Affected ranges
- ECOSYSTEM: ≥ 7.2.0, < 7.2.5.2-r0
Update to 7.2.5.2-r0
libreoffice Alpine 3.22
- Affected ranges
- ECOSYSTEM: ≥ 7.2.0, < 7.2.5.2-r0
Update to 7.2.5.2-r0
libreoffice Alpine 3.23
- Affected ranges
- ECOSYSTEM: ≥ 7.2.0, < 7.2.5.2-r0
Update to 7.2.5.2-r0
libreoffice Alpine 3.24
- Affected ranges
- ECOSYSTEM: ≥ 7.2.0, < 7.2.5.2-r0
Update to 7.2.5.2-r0
libreoffice Debian 12
- Affected ranges
- ECOSYSTEM: < 1:7.3.0-1
Update to 1:7.3.0-1
libreoffice Debian 13
- Affected ranges
- ECOSYSTEM: < 1:7.3.0-1
Update to 1:7.3.0-1
libreoffice Debian 14
- Affected ranges
- ECOSYSTEM: < 1:7.3.0-1
Update to 1:7.3.0-1
libreoffice Ubuntu 18.04 LTS
- Versions
- 1:5.4.1-0ubuntu1
- 1:5.4.1-0ubuntu3
- 1:5.4.2-0ubuntu5
- 1:5.4.3-0ubuntu1
- 1:5.4.4-0ubuntu5
- 1:6.0.1-0ubuntu3
All versions (16)
- 1:6.0.2-0ubuntu1
- 1:6.0.3-0ubuntu1
- 1:6.0.6-0ubuntu0.18.04.1
- 1:6.0.7-0ubuntu0.18.04.2
- 1:6.0.7-0ubuntu0.18.04.5
- 1:6.0.7-0ubuntu0.18.04.6
- 1:6.0.7-0ubuntu0.18.04.7
- 1:6.0.7-0ubuntu0.18.04.8
- 1:6.0.7-0ubuntu0.18.04.9
- 1:6.0.7-0ubuntu0.18.04.10
- Affected ranges
- ECOSYSTEM: < 1:6.0.7-0ubuntu0.18.04.11
Update to 1:6.0.7-0ubuntu0.18.04.11
libreoffice Ubuntu 20.04 LTS
- Versions
- 1:6.3.2-0ubuntu2
- 1:6.3.3-0ubuntu1
- 1:6.3.3-0ubuntu2
- 1:6.3.4-0ubuntu1
- 1:6.4.0-0ubuntu4
- 1:6.4.0-0ubuntu6
All versions (17)
- 1:6.4.0-0ubuntu7
- 1:6.4.1-0ubuntu1
- 1:6.4.2-0ubuntu1
- 1:6.4.2-0ubuntu2
- 1:6.4.2-0ubuntu3
- 1:6.4.3-0ubuntu0.20.04.1
- 1:6.4.4-0ubuntu0.20.04.1
- 1:6.4.5-0ubuntu0.20.04.1
- 1:6.4.6-0ubuntu0.20.04.1
- 1:6.4.7-0ubuntu0.20.04.1
- 1:6.4.7-0ubuntu0.20.04.2
- Affected ranges
- ECOSYSTEM: < 1:6.4.7-0ubuntu0.20.04.4
Update to 1:6.4.7-0ubuntu0.20.04.4
Original sources
- 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://nvd.nist.gov/vuln/detail/CVE-2021-25636