CVE Database›Document archive›CVE-2024-7788

CVE-2024-7788

libreoffice: improper digital signature invalidation vulnerability

Loading…

Severity

Moderate

Red Hat Product Security

7.8

CVSS 3.1

Review impact separately from score.

Published · September 18, 2024

Updated · November 21, 2025

Description

A flaw was found in LibreOffice. Various file formats are based on the zip file format. In cases of corruption of the underlying zip's central directory, LibreOffice offers a "repair mode" which will attempt to recover the zip file structure by scanning for secondary local file headers in the zip to reconstruct the document. In the case of digitally signed zip files, an attacker could construct a document which, when repaired, reported a signature status not valid for the recovered file.

Statement

The issue of incorrect digital signature validation during the repair of corrupted zip files in LibreOffice is classified as moderate severity due to its specific conditions and limited impact. While the flaw could potentially allow an attacker to exploit the repair mechanism to bypass signature verification, it requires both the corruption of a zip file and the presence of a digital signature, which narrows the scope of exploitation. Furthermore, successful exploitation would only affect the validation of the signature status rather than directly compromising the integrity or security of the document's content.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Do not try to recover or open an untrusted document.

CVSS / CWE

CVSS 3.1 · 7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CWE-347 · Improper Verification of Cryptographic Signature