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-64486

CVE-2025-64486: Calibre E-Book Manager RCE Vulnerability

CVE-2025-64486 is a remote code execution flaw in calibre e-book manager that allows attackers to write arbitrary files when processing malicious FB2 files. This post covers technical details, affected versions, and mitigation.

Published: April 15, 2026

CVE-2025-64486 Overview

CVE-2025-64486 is a critical arbitrary file write vulnerability in calibre, a popular open-source e-book manager application. The vulnerability exists in versions 8.13.0 and prior, where calibre fails to properly validate filenames when processing binary assets embedded in FictionBook (FB2) files. An attacker can craft a malicious FB2 file that, when viewed or converted by calibre, writes arbitrary files to the filesystem. This vulnerability can be chained to achieve arbitrary code execution on the victim's system.

Critical Impact

Opening or converting a malicious FictionBook file in calibre can lead to arbitrary file writes on the filesystem, potentially enabling full system compromise through arbitrary code execution.

Affected Products

  • calibre version 8.13.0 and all prior versions
  • Systems running vulnerable calibre installations processing untrusted FB2 files

Discovery Timeline

  • 2025-11-08 - CVE-2025-64486 published to NVD
  • 2025-11-12 - Last updated in NVD database

Technical Details for CVE-2025-64486

Vulnerability Analysis

This vulnerability is classified as CWE-73 (External Control of File Name or Path), a path traversal weakness that allows attackers to control file operations on the target system. The flaw resides in calibre's FB2 input conversion plugin, specifically in how it handles binary asset elements within FictionBook files.

When calibre processes an FB2 file, it extracts embedded binary assets (typically images) and writes them to the filesystem. The application uses the id attribute from the XML binary element as the filename. However, in vulnerable versions, this filename is not properly sanitized before being used in file operations. An attacker can craft a malicious FB2 file containing path traversal sequences (such as ../) in the id attribute, allowing files to be written outside the intended directory.

The attack requires user interaction—a victim must open or convert the malicious FB2 file—but no authentication or special privileges are required. Given calibre's widespread use for managing e-book libraries and the common practice of downloading e-books from various sources, this represents a significant attack surface.

Root Cause

The root cause is improper validation of the id attribute value in binary XML elements within FB2 files before using it as a filename. The vulnerable code path directly uses the id attribute value without sanitizing path traversal characters or validating it represents a safe filename. This allows attackers to inject directory traversal sequences that escape the intended output directory.

Attack Vector

The attack vector is local, requiring user interaction to trigger. An attacker would:

  1. Craft a malicious FB2 e-book file with a binary element containing a path traversal payload in the id attribute
  2. Distribute the malicious file through e-book sharing platforms, torrent sites, or targeted delivery
  3. Wait for the victim to open or convert the file using calibre
  4. The malicious payload writes arbitrary files to attacker-controlled paths on the victim's filesystem
  5. By writing executable files or configuration files to sensitive locations, the attacker can achieve code execution
python
# Security patch in src/calibre/ebooks/conversion/plugins/fb2_input.py
         from calibre.ebooks.fb2 import base64_decode
         self.image_map = {}
         for elem in doc.xpath('./*'):
-            if elem.text and 'binary' in elem.tag and 'id' in elem.attrib:
+            if elem.text and 'binary' in elem.tag and elem.get('id', ''):
                 ct = elem.get('content-type', '').lower()
                 fname = sanitize_file_name(elem.get('id'))
                 if ct.startswith('image/'):

Source: GitHub Commit Changes

The patch ensures that the id attribute is properly retrieved using elem.get('id', '') with a safe default value, and critically, the filename is passed through sanitize_file_name() to strip any path traversal sequences before file operations.

Detection Methods for CVE-2025-64486

Indicators of Compromise

  • FB2 files containing binary elements with suspicious id attributes containing path traversal sequences (../, ..\\)
  • Unexpected file creation or modification in system directories or user home directories after opening FB2 files
  • New executable files or scripts appearing in startup directories or cron locations
  • Calibre process writing files outside its typical working directories

Detection Strategies

  • Monitor file system operations from calibre processes for writes to sensitive directories (e.g., ~/.config/autostart/, /etc/, Windows startup folders)
  • Implement content inspection rules to scan FB2 files for malicious id attribute patterns containing .. sequences
  • Deploy endpoint detection rules that alert on calibre writing files with path traversal indicators in their paths
  • Review calibre application logs for errors related to file operations in unexpected directories

Monitoring Recommendations

  • Enable file integrity monitoring on critical system directories and user profile areas
  • Monitor for newly created executable files or scripts in common persistence locations
  • Track calibre process behavior for anomalous file system access patterns
  • Implement network monitoring for downloads of FB2 files from untrusted sources

How to Mitigate CVE-2025-64486

Immediate Actions Required

  • Upgrade calibre to version 8.14.0 or later immediately
  • Avoid opening or converting FB2 files from untrusted sources until patched
  • Review recently processed FB2 files and scan systems for unexpected file modifications
  • Consider temporarily disabling FB2 import functionality if upgrade cannot be performed immediately

Patch Information

The vulnerability has been fixed in calibre version 8.14.0. The fix ensures proper filename sanitization by applying the sanitize_file_name() function to the id attribute before using it in file operations. Users should update to the latest version through their package manager or by downloading directly from the official calibre website.

For detailed information, refer to the GitHub Security Advisory and the commit implementing the fix.

Workarounds

  • Do not open or process FB2 files from untrusted or unknown sources
  • Run calibre in a sandboxed environment or container with restricted filesystem access
  • Use file system permissions to limit calibre's write access to only necessary directories
  • Consider using application sandboxing tools (e.g., Firejail on Linux, sandboxing on macOS) to contain potential exploits
bash
# Example: Running calibre with restricted filesystem access using Firejail
firejail --whitelist=~/Calibre\ Library --whitelist=~/Downloads calibre

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechCalibre

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/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
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-73
  • Technical References
  • GitHub Commit Changes

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-25635: Calibre E-Book Manager RCE Vulnerability

  • CVE-2026-25731: Calibre E-Book Manager RCE Vulnerability

  • CVE-2024-6782: Calibre RCE Vulnerability

  • CVE-2026-33205: Calibre E-Book Manager SSRF 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