cve.bz

CVE-2022-26305 libreoffice libreoffice: Improper Certificate Validation

7.5 highEPSS 1.2%

High (7.5) in libreoffice libreoffice. EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 70th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-26305 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-26305?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-26305?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-26305 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
The Document Foundation LibreOfficefrom 7.2 before 7.2.7
The Document Foundation LibreOfficefrom 7.3 before 7.3.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10libreoffice1:6.1.5-3+deb10u8DLA-3368-1
Debian12, 13, 14libreoffice1:7.3.2~rc2-1DEBIAN-CVE-2022-26305
Ubuntu18.04:LTSlibreoffice1:6.0.7-0ubuntu0.18.04.12UBUNTU-CVE-2022-26305 USN-5694-1
Ubuntu20.04:LTSlibreoffice1:6.4.7-0ubuntu0.20.04.5UBUNTU-CVE-2022-26305 USN-5661-1 USN-5694-1
Ubuntu22.04:LTSlibreoffice1:7.3.6-0ubuntu0.22.04.2USN-5694-1
Red Hatenterprise_linux:8::appstreamautocorr-af, autocorr-bg, autocorr-ca and 186 more1:6.4.7.2-12.el8_7RHSA-2023:0089
Red Hatenterprise_linux:8::crblibreoffice-sdk, libreoffice-sdk-doc, libreoffice-debuginfo and 18 more1:6.4.7.2-12.el8_7RHSA-2023:0089
Red Hatenterprise_linux:9::appstreamautocorr-af, autocorr-bg, autocorr-ca and 193 more1:7.1.8.1-8.el9_1RHSA-2023:0304
Red Hatenterprise_linux:9::crblibreoffice-sdk, libreoffice-sdk-doc, libreoffice-debuginfo and 18 more1:7.1.8.1-8.el9_1RHSA-2023:0304
SUSELinux Enterprise Module for Package Hub 15 SP3, Linux Enterprise Module for Package Hub 15 SP4, Linux Enterprise Workstation Extension 15 SP3 and 1 morelibreoffice7.3.6.2-150300.14.22.24.2SUSE-SU-2022:3650-1
SUSELinux Enterprise Software Development Kit 12 SP5, Linux Enterprise Workstation Extension 12 SP5libreoffice7.3.6.2-48.28.1SUSE-SU-2022:3602-1
openSUSELeap 15.3, Leap 15.4libreoffice7.3.6.2-150300.14.22.24.2SUSE-SU-2022:3650-1
openSUSETumbleweedlibreoffice7.4.2.3-1.1openSUSE-SU-2024:12452-1
AlmaLinux8autocorr-af, autocorr-bg, autocorr-ca and 168 more1:6.4.7.2-12.el8_7.almaALSA-2023:0089
AlmaLinux9autocorr-af, autocorr-bg, autocorr-ca and 175 more1:7.1.8.1-8.el9_1.almaALSA-2023:0304
Rocky Linux8libreoffice1:6.4.7.2-12.el8_7RLSA-2023:0089
Rocky Linux9libreoffice1:7.1.8.1-8.el9_1RLSA-2023:0304
Alpinev3.15, v3.16, v3.17 and 7 morelibreoffice7.2.7.2-r0ALPINE-CVE-2022-26305

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8libreoffice-1:6.4.7.2-12.el8_7Fixed 2023-01-12RHSA-2023:0089
Red Hat Enterprise Linux 9libreoffice-1:7.1.8.1-8.el9_1Fixed 2023-01-23RHSA-2023:0304
Red Hat Enterprise Linux 6libreofficeNot affected
Red Hat Enterprise Linux 7libreofficeNot affected
Red Hat Enterprise Linux 8libreoffice:flatpak/libreofficeWill not fix
Red Hat Enterprise Linux 9libreoffice:flatpak/libreofficeAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-26305.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON