The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-7788

CVE-2024-7788: LibreOffice Signature Forgery Vulnerability

CVE-2024-7788 is a digital signature forgery flaw in LibreOffice's Zip Repair Mode that allows attackers to bypass document authentication. This article covers the technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2024-7788 Overview

CVE-2024-7788 is an Improper Digital Signature Invalidation vulnerability affecting The Document Foundation's LibreOffice office suite. The flaw exists in the Zip Repair Mode functionality and enables signature forgery attacks, potentially allowing malicious actors to craft documents that appear to have valid digital signatures when they do not.

Digital signatures in office documents serve as critical trust indicators, validating document authenticity and integrity. When this verification process is compromised, attackers can distribute malicious or tampered documents that falsely appear to be legitimately signed by trusted entities, bypassing security controls that rely on signature validation.

Critical Impact

Attackers can forge digital signatures on LibreOffice documents, enabling distribution of malicious content that appears authentically signed, potentially leading to document tampering, malware distribution, or social engineering attacks.

Affected Products

  • LibreOffice versions 24.2 through 24.2.4
  • LibreOffice installations utilizing Zip Repair Mode functionality
  • Document workflows relying on digital signature verification

Discovery Timeline

  • 2024-09-17 - CVE-2024-7788 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-7788

Vulnerability Analysis

The vulnerability is classified under CWE-347 (Improper Verification of Cryptographic Signature). The core issue resides in how LibreOffice handles digital signature validation when processing documents through its Zip Repair Mode.

LibreOffice documents (ODT, ODS, ODP, etc.) are stored as ZIP archives containing XML content and associated resources. When a document's ZIP structure is damaged or malformed, LibreOffice's Zip Repair Mode attempts to recover the content. However, during this repair process, the signature validation mechanism fails to properly invalidate signatures that should no longer be trusted after document modification.

This improper invalidation allows an attacker to manipulate signed documents in a way that preserves the appearance of valid signatures despite content modifications. The vulnerability requires local access and user interaction—specifically, the victim must open a crafted malicious document.

Root Cause

The root cause stems from improper handling of cryptographic signature state during the ZIP archive repair process. When LibreOffice repairs a malformed document archive, the signature validation logic does not correctly detect that the repaired content may differ from the originally signed content. This creates a disconnect between the signature status displayed to the user and the actual integrity of the document contents.

The signature verification implementation fails to account for modifications made during the repair process, allowing the original signature to persist even when document contents have been altered. This represents a fundamental flaw in the trust chain between content integrity verification and signature display.

Attack Vector

The attack vector is local with user interaction required. An attacker must craft a malicious LibreOffice document with a specifically malformed ZIP structure that triggers the Zip Repair Mode while preserving signature validation bypass conditions.

A typical attack scenario involves:

  1. Creating a legitimately signed LibreOffice document
  2. Manipulating the document's ZIP structure to introduce specific malformations that trigger repair mode
  3. Modifying the document content (inserting malicious macros, changing text, adding malicious links)
  4. Distributing the crafted document to victims via email, file sharing, or other channels
  5. When opened, LibreOffice's repair mode processes the document while incorrectly maintaining the signature as valid

The attacker can leverage this to distribute documents containing malicious content under the guise of trusted, signed documents—potentially bypassing organizational security policies that trust digitally signed documents.

Detection Methods for CVE-2024-7788

Indicators of Compromise

  • LibreOffice documents that trigger Zip Repair Mode warnings upon opening
  • Documents with digital signatures from unexpected or impersonated sources
  • Unusual document metadata inconsistencies between signed content and actual content
  • Documents exhibiting repair mode behavior combined with signature validation displays

Detection Strategies

  • Monitor for LibreOffice Zip Repair Mode activation events in endpoint telemetry
  • Implement document scanning solutions that validate signature integrity independently of LibreOffice
  • Deploy behavioral detection for documents that exhibit characteristics of signature forgery attempts
  • Audit received documents with digital signatures for structural anomalies before trusting

Monitoring Recommendations

  • Enable logging of LibreOffice document processing events on managed endpoints
  • Implement email gateway scanning for malformed ODF document structures
  • Monitor for suspicious document sources claiming trusted signatures
  • Establish baseline patterns for legitimate signed document workflows to identify anomalies

How to Mitigate CVE-2024-7788

Immediate Actions Required

  • Upgrade LibreOffice to version 24.2.5 or later immediately
  • Review any documents with digital signatures received during the vulnerable period
  • Implement additional validation for signed documents in high-security workflows
  • Alert users about the potential for forged signatures in LibreOffice documents

Patch Information

The Document Foundation has addressed this vulnerability in LibreOffice version 24.2.5 and later releases. Organizations should upgrade all LibreOffice installations to the patched version as soon as possible. Detailed information about the security fix is available in the LibreOffice Security Advisory.

For Debian-based systems, security updates have been released as detailed in the Debian LTS Announcement. Administrators should ensure package repositories are updated and patches are applied across all managed systems.

Workarounds

  • Disable automatic Zip Repair Mode if configuration options allow
  • Implement secondary signature verification using external tools for critical documents
  • Treat all digitally signed documents with suspicion until LibreOffice is patched
  • Consider blocking or quarantining LibreOffice documents with signatures at the email gateway until patches are deployed
bash
# Verify LibreOffice version and upgrade on Debian/Ubuntu systems
libreoffice --version
sudo apt update && sudo apt upgrade libreoffice

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechLibreoffice

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-347
  • Technical References
  • Debian LTS Announcement
  • Vendor Resources
  • LibreOffice Security Advisory
  • Related CVEs
  • CVE-2024-6472: LibreOffice Auth Bypass Vulnerability

  • CVE-2023-2255: LibreOffice Auth Bypass Vulnerability

  • CVE-2025-2866: LibreOffice PDF Signature Spoofing Flaw

  • CVE-2023-0950: LibreOffice Spreadsheet RCE Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English