Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-5261

CVE-2024-5261: LibreOffice TLS Verification Vulnerability

CVE-2024-5261 is an improper certificate validation flaw in LibreOffice LibreOfficeKit mode that disables TLS verification when fetching remote resources. This article covers technical details, affected versions, and patches.

Published: April 8, 2026

CVE-2024-5261 Overview

CVE-2024-5261 is a critical Improper Certificate Validation vulnerability affecting LibreOffice when operating in "LibreOfficeKit" mode. This security flaw completely disables TLS certificate verification for network requests, exposing applications that embed LibreOffice functionality to man-in-the-middle attacks and other network-based exploits.

LibreOfficeKit is a C/C++ interface that allows third-party applications to leverage LibreOffice's document processing capabilities. This is commonly used for document conversion, viewing, and manipulation in enterprise applications and web services. The vulnerability stems from LibreOffice's use of the curl library to fetch remote resources such as images hosted on web servers. In affected versions, when LibreOffice operates in LibreOfficeKit mode, the CURLOPT_SSL_VERIFYPEER option was set to false, effectively disabling all TLS certificate validation.

Critical Impact

Complete bypass of TLS certificate verification enables attackers to intercept, modify, or inject malicious content during document processing operations without detection.

Affected Products

  • LibreOffice versions prior to 24.2.4
  • Applications using LibreOfficeKit for document processing
  • Third-party document conversion services leveraging LibreOffice

Discovery Timeline

  • June 25, 2024 - CVE-2024-5261 published to NVD
  • December 23, 2025 - Last updated in NVD database

Technical Details for CVE-2024-5261

Vulnerability Analysis

This vulnerability represents a severe cryptographic weakness (CWE-295: Improper Certificate Validation) that undermines the fundamental security guarantees of TLS/SSL communications. When LibreOffice operates in LibreOfficeKit mode, it fails to verify the authenticity of remote servers when fetching external resources.

The flaw specifically affects the curl library integration within LibreOffice. During normal standalone operation, LibreOffice properly validates TLS certificates for all HTTPS connections. However, when the application is instantiated through the LibreOfficeKit API—commonly used in server-side document processing scenarios—this critical security check is bypassed entirely.

This creates a dangerous scenario where documents containing references to external resources (images, stylesheets, or other linked content) can be manipulated during transit. An attacker positioned on the network path between the LibreOfficeKit instance and the remote server can present a fraudulent certificate and intercept or modify the response without triggering any security warnings.

Root Cause

The root cause is the improper configuration of the curl library when LibreOffice initializes in LibreOfficeKit mode. The CURLOPT_SSL_VERIFYPEER option was explicitly set to false, which instructs curl to accept any TLS certificate regardless of its validity, expiration status, or chain of trust. This configuration error appears to have been introduced to simplify development or testing scenarios but was inadvertently included in production releases.

Attack Vector

The vulnerability is exploitable over the network without requiring any user interaction or authentication. An attacker can exploit this flaw through the following attack scenario:

  1. A victim application uses LibreOfficeKit to process a document containing external resource references (e.g., remotely hosted images)
  2. The attacker positions themselves on the network path (via ARP spoofing, DNS hijacking, compromised network infrastructure, or malicious Wi-Fi access point)
  3. When LibreOfficeKit attempts to fetch the external resource via HTTPS, the attacker intercepts the request
  4. The attacker presents their own certificate and responds with malicious content
  5. Due to disabled certificate verification, LibreOfficeKit accepts the malicious response without validation
  6. The attacker-controlled content is processed and potentially rendered or executed within the context of the document

This attack is particularly dangerous in cloud-based document conversion services, collaborative document editing platforms, and enterprise document management systems that rely on LibreOfficeKit for backend processing.

Detection Methods for CVE-2024-5261

Indicators of Compromise

  • Unexpected TLS connection failures or certificate warnings in upstream proxies while LibreOfficeKit instances continue to operate normally
  • Network traffic analysis showing HTTPS connections from LibreOfficeKit processes that do not validate server certificates
  • Anomalous content in processed documents that differs from expected external resources
  • Evidence of man-in-the-middle activity in network logs near document processing infrastructure

Detection Strategies

  • Deploy network monitoring to detect TLS connections that accept invalid or self-signed certificates from LibreOffice processes
  • Implement certificate pinning validation at the network perimeter for known external resources accessed by document processing systems
  • Conduct regular software inventory audits to identify LibreOffice installations below version 24.2.4
  • Use application-level logging to track external resource fetching behavior in LibreOfficeKit deployments

Monitoring Recommendations

  • Enable verbose curl logging for LibreOfficeKit instances to capture certificate validation events
  • Monitor for unexpected DNS queries or IP connections from document processing servers
  • Implement TLS inspection at network boundaries to validate certificate chains for outbound connections
  • Set up alerts for LibreOffice processes making HTTPS connections to untrusted or newly-registered domains

How to Mitigate CVE-2024-5261

Immediate Actions Required

  • Upgrade all LibreOffice installations to version 24.2.4 or later immediately
  • Audit all applications and services that utilize LibreOfficeKit for document processing
  • Implement network segmentation to isolate document processing infrastructure from untrusted networks
  • Review and restrict external network access for LibreOfficeKit instances where possible

Patch Information

LibreOffice has addressed this vulnerability in version 24.2.4 and later releases. The fix restores proper TLS certificate verification by setting CURLOPT_SSL_VERIFYPEER to true when operating in LibreOfficeKit mode, ensuring consistent security behavior across all deployment configurations.

Organizations should apply the update as soon as possible. The official security advisory is available at the LibreOffice Security Advisory page.

Workarounds

  • Configure network firewalls to block or proxy all outbound HTTPS connections from LibreOfficeKit instances through a TLS-inspecting proxy that enforces certificate validation
  • Process documents in isolated network environments without external internet access
  • Pre-fetch and locally cache all external resources before document processing to eliminate runtime network requests
  • Consider disabling external resource loading entirely in LibreOfficeKit configurations where feasible
bash
# Verify LibreOffice version to confirm patched status
libreoffice --version
# Expected output should show version 24.2.4 or higher

# For containerized deployments, update base images
# Example: Pull updated LibreOffice container
docker pull libreoffice/libreoffice:24.2.4

# Network-level mitigation: Block direct external HTTPS from LibreOffice processes
# Force traffic through validating proxy (example iptables rule)
iptables -A OUTPUT -p tcp --dport 443 -m owner --uid-owner libreoffice -j REJECT

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechLibreoffice

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability0.53%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-295
  • Vendor Resources
  • LibreOffice Security Advisory
  • Related CVEs
  • CVE-2025-2866: LibreOffice PDF Signature Spoofing Flaw

  • CVE-2024-6472: LibreOffice Auth Bypass Vulnerability

  • CVE-2023-0950: LibreOffice Spreadsheet RCE Vulnerability

  • CVE-2023-6186: LibreOffice Macro Execution RCE Vulnerability
Default Legacy - Prefooter | 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