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

CVE-2025-70559: pdfminer.six RCE Vulnerability

CVE-2025-70559 is a remote code execution flaw in pdfminer.six caused by insecure deserialization in CMap loading. Attackers can execute arbitrary code via malicious pickle files. This guide covers technical details, versions, and fixes.

Published: February 6, 2026

CVE-2025-70559 Overview

CVE-2025-70559 is an insecure deserialization vulnerability affecting pdfminer.six, a popular Python library for extracting text and information from PDF documents. The vulnerability exists in the CMap loading mechanism where the library uses Python pickle to deserialize CMap cache files without proper validation. An attacker with the ability to place a malicious pickle file in a location accessible to the application can trigger arbitrary code execution or privilege escalation when the file is loaded by a trusted process.

This vulnerability is particularly concerning as it represents an incomplete patch to CVE-2025-64512, indicating that previous remediation efforts failed to fully address the underlying security issue.

Critical Impact

Successful exploitation allows arbitrary code execution and potential privilege escalation through malicious pickle file deserialization in the CMap cache loading mechanism.

Affected Products

  • pdfminer.six versions prior to 20251230

Discovery Timeline

  • 2026-02-03 - CVE-2025-70559 published to NVD
  • 2026-02-04 - Last updated in NVD database

Technical Details for CVE-2025-70559

Vulnerability Analysis

The vulnerability stems from the unsafe use of Python's pickle module for deserializing CMap cache files within pdfminer.six. Python's pickle serialization format is inherently unsafe when processing untrusted data, as it can execute arbitrary Python code during the deserialization process. The CMap loading mechanism in pdfminer.six failed to implement adequate validation before deserializing these cache files, creating an opportunity for attackers to inject malicious payloads.

This issue is a bypass of the fix implemented for CVE-2025-64512, suggesting that the original patch did not comprehensively address all attack vectors related to pickle deserialization in the CMap caching functionality.

Root Cause

The root cause is the use of Python's pickle.load() or equivalent deserialization functions on CMap cache files without proper input validation or integrity verification. Python pickle is known to be unsafe for deserializing untrusted data because a malicious pickle payload can contain instructions to instantiate arbitrary Python objects and execute code during unpickling. The incomplete patch from CVE-2025-64512 left residual code paths that still permitted unsafe deserialization.

Attack Vector

The attack requires an adversary to place a crafted malicious pickle file in a location where pdfminer.six will attempt to load it as a CMap cache file. This could occur through:

  1. Local file manipulation - An attacker with local access writes a malicious pickle file to the CMap cache directory
  2. Application vulnerabilities - Chaining with other vulnerabilities (e.g., path traversal, file upload) to plant the malicious file
  3. Shared environment exploitation - In multi-tenant environments where cache directories may be accessible to multiple users

When a legitimate application process using pdfminer.six loads the poisoned cache file, the malicious pickle payload executes with the privileges of the running process. The vulnerability mechanism centers on the trust placed in cached CMap files without verifying their integrity or source. For detailed technical information, refer to the GitHub Security Advisory.

Detection Methods for CVE-2025-70559

Indicators of Compromise

  • Unexpected or modified files in pdfminer.six CMap cache directories
  • Unusual pickle files appearing in application data directories
  • Process execution anomalies originating from Python processes using pdfminer.six
  • File integrity monitoring alerts for CMap cache locations

Detection Strategies

  • Monitor file system activity for unexpected writes to pdfminer.six cache directories
  • Implement application-level logging to track CMap cache file loading operations
  • Deploy endpoint detection rules to identify suspicious Python pickle deserialization patterns
  • Use code analysis tools to identify unsafe pickle usage in applications consuming pdfminer.six

Monitoring Recommendations

  • Enable file integrity monitoring (FIM) on directories where pdfminer.six stores cache files
  • Configure SIEM rules to alert on anomalous file creation patterns in Python library directories
  • Monitor for unusual child process spawning from applications that process PDF files
  • Review application logs for errors or exceptions related to CMap loading failures

How to Mitigate CVE-2025-70559

Immediate Actions Required

  • Upgrade pdfminer.six to version 20251230 or later immediately
  • Audit existing CMap cache directories and remove any suspicious or unverified pickle files
  • Implement strict file permissions on cache directories to prevent unauthorized writes
  • Consider disabling CMap caching if not critical to application functionality until patching is complete

Patch Information

The vulnerability is addressed in pdfminer.six version 20251230 and later. Organizations should update to this version or newer to remediate the vulnerability. The fix properly addresses the insecure deserialization issue that remained after the incomplete patch for CVE-2025-64512. For additional details, see the pdfminer.six Security Advisory.

Workarounds

  • Restrict file system permissions on CMap cache directories to prevent unauthorized write access
  • Deploy application sandboxing to limit the impact of potential code execution
  • Implement file integrity monitoring to detect unauthorized modifications to cache files
  • If possible, configure the application to avoid using the vulnerable caching mechanism until a patch can be applied
bash
# Example: Restrict permissions on pdfminer cache directory
chmod 700 ~/.cache/pdfminer/
chown $(whoami):$(whoami) ~/.cache/pdfminer/

# Verify no unexpected files exist in cache
ls -la ~/.cache/pdfminer/

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechPdfminer

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • GitHub Security Advisory

  • GitHub PDFMiner Advisory
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS 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