CVE-2022-26305: libreoffice Improper Certificate Validation
Vulnerability summary
CVE-2022-26305 is a high (CVSS 7.5) Improper Certificate Validation vulnerability in libreoffice. EPSS estimates a 1.24% chance of exploitation in the next 30 days, higher than 68.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 8 · Related 5Timeline
- 25-07-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
An Improper Certificate Validation vulnerability in LibreOffice existed where determining if a macro was signed by a trusted author was done by only matching the serial number and issuer string of the used certificate with that of a trusted certificate. This is not sufficient to verify that the macro was actually signed with the certificate. An adversary could therefore create an arbitrary certificate with a serial number and an issuer string identical to a trusted certificate which LibreOffice would present as belonging to the trusted author, potentially leading to the user to execute arbitrary code contained in macros improperly trusted. This issue affects: The Document Foundation LibreOffice 7.2 versions prior to 7.2.7; 7.3 versions prior to 7.3.1.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.24%
Chance of exploitation in the next 30 days
Percentile
69%
Versus all other CVEs
30-day change
+0.06 pp
From 1.18% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian1 product
- libreoffice< 1:7.3.2~rc2-1
Libreoffice1 product
- libreoffice≥ 7.2.0, < 7.2.7 | ≥ 7.3.0, < 7.3.2
The document foundation1 product
- libreoffice≥ 7.2, < 7.2.7 | ≥ 7.3, < 7.3.1
Ubuntu1 product
- libreoffice< 1:6.0.7-0ubuntu0.18.04.12 | < 1:6.4.7-0ubuntu0.20.04.5
4 vendors · 4 products