CVE-2022-26305

Execution of Untrusted Macros Due to Improper Certificate Validation

HIGH
7.5
CVSS Score
Published: July 25, 2022 at 12:00 AM UTC
Updated: June 17, 2026 at 04:34 AM UTC
2 products affected across 2 vendorsLibreofficeLibreOffice

Using LibreOffice by The Document Foundation?

Get instant alerts when new vulnerabilities affect LibreOffice - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

7.2.0 ≤ v < 7.2.77.3.0 ≤ v < 7.3.2
Affected range stops below 7.2.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.3.2, so it looks safe — our inference, not a vendor statement
7.2 ≤ v < 7.2.77.3 ≤ v < 7.3.17.27.3
Affected range stops below 7.2.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.3.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-295

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card