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-2025-2866

CVE-2025-2866: LibreOffice PDF Signature Spoofing Flaw

CVE-2025-2866 is a PDF signature spoofing vulnerability in LibreOffice that allows invalid signatures to be accepted as valid. This article covers technical details, affected versions, security impact, and mitigation.

Updated: January 22, 2026

CVE-2025-2866 Overview

CVE-2025-2866 is an Improper Verification of Cryptographic Signature vulnerability (CWE-347) in LibreOffice that allows PDF Signature Spoofing through improper validation. In the affected versions of LibreOffice, a flaw in the verification code for adbe.pkcs7.sha1 signatures could cause invalid signatures to be accepted as valid, potentially allowing attackers to create fraudulent documents that appear legitimately signed.

Critical Impact

Attackers can craft malicious PDF documents with forged digital signatures that LibreOffice incorrectly validates as authentic, undermining document integrity and trust in signed PDF workflows.

Affected Products

  • LibreOffice versions 24.8 before 24.8.6
  • LibreOffice versions 25.2 before 25.2.2
  • LibreOffice 24.8.0.0 alpha1 and beta1 releases
  • LibreOffice 25.2.0.0 alpha1 and beta1 releases

Discovery Timeline

  • 2025-04-27 - CVE-2025-2866 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2025-2866

Vulnerability Analysis

The vulnerability resides in LibreOffice's PDF signature verification implementation, specifically in how the application processes adbe.pkcs7.sha1 signatures. This signature format is a legacy PDF signature type that embeds a PKCS#7 signed data object containing a SHA-1 hash of the document's content.

The flaw allows crafted PDF documents with invalid cryptographic signatures to bypass validation checks and appear as legitimately signed. This represents a fundamental break in the trust model for digitally signed documents, as users rely on signature verification to confirm document authenticity and integrity.

The attack requires local access and user interaction, as the victim must open a malicious PDF document in a vulnerable version of LibreOffice. While the local attack vector and user interaction requirements limit the attack surface, the impact on document trust is significant for organizations relying on PDF signatures for legal or business purposes.

Root Cause

The root cause is improper verification logic in LibreOffice's cryptographic signature validation code for the adbe.pkcs7.sha1 signature format. The verification code fails to properly validate certain aspects of the signature structure, allowing malformed or invalid signatures to pass validation checks that should reject them.

This type of vulnerability typically occurs when signature verification implementations do not strictly enforce all required validation steps, such as proper certificate chain validation, hash comparison, or signature format conformance checks.

Attack Vector

The attack leverages the local file system attack vector, requiring an attacker to deliver a specially crafted PDF document to a victim. The attack scenario typically involves:

  1. An attacker creates a PDF document with malicious content or falsified information
  2. The attacker crafts an invalid adbe.pkcs7.sha1 signature that exploits the verification flaw
  3. The malicious PDF is delivered to the victim via email, file sharing, or other means
  4. When opened in a vulnerable LibreOffice version, the invalid signature is incorrectly displayed as valid
  5. The victim trusts the document based on the apparent valid signature

The vulnerability enables signature spoofing attacks where documents can be made to appear signed by trusted entities without possessing the corresponding private keys. This could facilitate fraud, impersonation, or distribution of malicious content disguised as legitimate signed documents.

Detection Methods for CVE-2025-2866

Indicators of Compromise

  • PDF documents with adbe.pkcs7.sha1 signatures that validate in LibreOffice but fail validation in other PDF readers
  • Documents claiming to be signed by high-value targets (executives, legal entities) received from unexpected sources
  • Unusual PDF file structures or signature objects that deviate from standard PKCS#7 formatting

Detection Strategies

  • Cross-validate PDF signatures using multiple tools (Adobe Acrobat, PDF.js, online validators) when document authenticity is critical
  • Implement file inspection policies that flag adbe.pkcs7.sha1 signed documents for additional scrutiny
  • Monitor for LibreOffice version information in enterprise environments to identify vulnerable installations

Monitoring Recommendations

  • Track LibreOffice installations across the organization and prioritize patching vulnerable versions
  • Establish baseline signature verification procedures that do not rely solely on LibreOffice for critical document validation
  • Review and audit any business processes that depend on LibreOffice PDF signature verification for trust decisions

How to Mitigate CVE-2025-2866

Immediate Actions Required

  • Upgrade LibreOffice to version 24.8.6 or later for the 24.8 branch
  • Upgrade LibreOffice to version 25.2.2 or later for the 25.2 branch
  • Implement compensating controls by validating critical PDF signatures using alternative tools until patches are applied
  • Alert users about the risk of trusting PDF signatures in vulnerable LibreOffice versions

Patch Information

LibreOffice has released security patches addressing this vulnerability. Users should upgrade to LibreOffice 24.8.6 or LibreOffice 25.2.2 or later versions to receive the fix. For detailed patch information and download links, refer to the LibreOffice Security Advisory CVE-2025-2866.

Debian LTS users should also monitor the Debian LTS Announcement for distribution-specific patches.

Workarounds

  • Use alternative PDF readers (Adobe Acrobat, Foxit) for signature validation until LibreOffice is patched
  • Implement organizational policies requiring dual-tool signature verification for legally binding documents
  • Consider disabling or not relying on PDF signature verification in LibreOffice for critical business processes
  • Train users to verify document authenticity through out-of-band communication when signatures are critical
bash
# Check LibreOffice version on Linux systems
libreoffice --version

# Verify version is patched (should show 24.8.6+ or 25.2.2+)
# If vulnerable, download latest version from libreoffice.org

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

  • SeverityLOW

  • CVSS Score2.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/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
  • AvailabilityNone
  • CWE References
  • CWE-347
  • Technical References
  • Debian LTS Announcement
  • Vendor Resources
  • LibreOffice Security Advisory CVE-2025-2866
  • Related CVEs
  • CVE-2024-6472: LibreOffice Auth Bypass Vulnerability

  • CVE-2023-0950: LibreOffice Spreadsheet RCE Vulnerability

  • CVE-2023-6186: LibreOffice Macro Execution RCE Vulnerability

  • CVE-2024-7788: LibreOffice Signature Forgery 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