7.5

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

Modified
AliasesUBUNTU-CVE-2022-26305DEBIAN-CVE-2022-26305ALPINE-CVE-2022-26305
Published 25-07-2022Last modified 03-08-2024

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 70.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
1.24%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 8 · Related 5

Timeline

  1. 25-07-2022
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last 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

4 scores · 4 sources · 1 version

EPSS trend

Probability

1.24%

Chance of exploitation in the next 30 days

Percentile

70%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.24% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • libreoffice≥ 7.2.0, < 7.2.7.2-r0
Debian1 product
  • libreoffice< 1:7.3.2~rc2-1
Libreoffice1 product
The document foundation1 product
Ubuntu1 product
  • libreoffice< 1:6.0.7-0ubuntu0.18.04.12 | < 1:6.4.7-0ubuntu0.20.04.5

5 vendors · 5 products

References

8 links