CVE-2022-26305 | Execution of Untrusted Macros Due to Improper Certificate Validation

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.

Published: 2022-07-25 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-26305 is rated Moderate Risk (50.4/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.98%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2022-26305

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.71% 0.98% +0.28%
2 2026-01-01 0.62% 0.71% +0.08%
3 2025-12-13 0.62%

Full EPSS history (15 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-26305

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.6 5.9 [email protected]

Weakness enumeration for CVE-2022-26305

OS Trackers for CVE-2022-26305

vendor priority summary link
alpine high CVE-2022-26305: 1 source package rows (libreoffice); 11 state rows across 7 repos (3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 7, open 4. https://security.alpinelinux.org/vuln/CVE-2022-26305
debian not yet assigned CVE-2022-26305 not yet assigned priority: Debian including 1 source packages (libreoffice), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2022-26305
redhat medium https://access.redhat.com/security/cve/CVE-2022-26305
suse high CVE-2022-26305 severity important: SUSE including 342 source package names (libreoffice-7.3.6.2-150300.14.22.24.2, libreoffice-7.3.6.2-48.28.1, …), 954 product×package rows across 9 product lines (SUSE Linux Enterprise Module for Package Hub 15 SP3, SUSE Linux Enterprise Module for Package Hub 15 SP4, … (9 product lines)): Fixed 954. https://www.suse.com/security/cve/CVE-2022-26305/
ubuntu medium CVE-2022-26305 medium priority: Ubuntu including 1 source packages (libreoffice), 8 status rows across 8 suites (bionic, focal, jammy, kinetic, lunar, trusty, upstream, xenial): not-affected 3, released 3, ignored 2. https://ubuntu.com/security/CVE-2022-26305

Affected software / configurations for CVE-2022-26305

Vendor Product Version Raw CPE
libreoffice libreoffice >= 7.2.0, < 7.2.7 cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*
libreoffice libreoffice >= 7.3.0, < 7.3.2 cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*

References for CVE-2022-26305

cvelogic Threat Intelligence