CVE-2022-26305
CVE-2022-26305 is a high-severity vulnerability in Libreoffice with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-295.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- EPSS exploit prediction: 1% (59th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-295
- Affected product: Libreoffice
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2022-26305?
- 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.
- How severe is CVE-2022-26305?
- CVE-2022-26305 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with high attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2022-26305 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (59th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-26305?
- CVE-2022-26305 affects Libreoffice. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2022-26305?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2022-26305 published?
- CVE-2022-26305 was published on 2022-07-25 and last updated on 2026-06-17.
References
- https://lists.debian.org/debian-lts-announce/2023/03/msg00022.html
- https://www.libreoffice.org/about-us/security/advisories/cve-2022-26305
Affected products (1)
- cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*
More vulnerabilities in Libreoffice
- CVE-2014-0247 — Critical (CVSS 10.0): LibreOffice 4.2.4 executes unspecified VBA macros automatically, which has unspecified impact and attack vectors,…
- CVE-2024-5261 — Critical (CVSS 9.8): Improper Certificate Validation vulnerability in LibreOffice "LibreOfficeKit" mode disables TLS certification…
- CVE-2019-9855 — Critical (CVSS 9.8): LibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute…
- CVE-2019-9851 — Critical (CVSS 9.8): LibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute…
- CVE-2019-9850 — Critical (CVSS 9.8): LibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute…
- CVE-2019-9848 — Critical (CVSS 9.8): LibreOffice has a feature where documents can specify that pre-installed scripts can be executed on various document…
All CVEs affecting Libreoffice →
Other CWE-295 (Improper Certificate Validation) vulnerabilities
- CVE-2026-4370 — Critical (CVSS 10.0): A vulnerability was identified in Juju from version 3.2.0 until 3.6.19 and from version 4.0 until 4.0.4, where the…
- CVE-2026-30836 — Critical (CVSS 10.0): Step CA is an online certificate authority for secure, automated certificate management for DevOps. Versions 0.30.0-rc6…
- CVE-2025-68121 — Critical (CVSS 10.0): During session resumption in crypto/tls, if the underlying Config has its ClientCAs or RootCAs fields mutated between…
- CVE-2022-20703 — Critical (CVSS 10.0): Multiple vulnerabilities in Cisco Small Business RV160, RV260, RV340, and RV345 Series Routers could allow an attacker…
- CVE-2021-1471 — Critical (CVSS 9.9): Multiple vulnerabilities in Cisco Jabber for Windows, Cisco Jabber for MacOS, and Cisco Jabber for mobile platforms…
- CVE-2026-20184 — Critical (CVSS 9.8): A vulnerability in the integration of single sign-on (SSO) with Control Hub in Cisco Webex Services could have allowed…
Browse all CWE-295 (Improper Certificate Validation) vulnerabilities →