CVE-2026-26065

calibre: Path Traversal can Lead to Arbitrary File Write and Potential Code Execution

Published Feb 20, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
Description
calibre is a cross-platform e-book manager for viewing, converting, editing, and cataloging e-books. Versions 9.2.1 and below are vulnerable to Path Traversal through PDB readers (both 132-byte and 202-byte header variants) that allow arbitrary file writes with arbitrary extension and arbitrary content anywhere the user has write permissions. Files are written in 'wb' mode, silently overwriting existing files. This can lead to potential code execution and Denial of Service through file corruption. This issue has been fixed in version 9.3.0.

Analysis

AI-generated

Technical impact

Based on the CVE description, an attacker can exploit improper path validation in calibre's PDB readers to write files of any name and content outside the intended directory. Files are opened in binary write mode, silently overwriting existing ones, enabling the replacement of legitimate binaries or the deployment of malicious code. The vulnerability allows arbitrary file writes anywhere the user has write permissions, potentially facilitating code execution and causing denial of service through corruption.

Affected Systems

The flaw is present in calibre 9.2.1 and all earlier releases. Users running these versions on any platform that permits the installation of calibre are affected. The issue is resolved in calibre 9.3.0 and later.

Risk and Exploitability

The CVSS score of 9.3 indicates high severity. EPSS is below 1%, suggesting few current exploits, but the risk is real, especially with the potential for local code execution if a user runs a crafted PDB file. The vulnerability is not listed in CISA's KEV catalog, yet its impact warrants immediate attention. The likely attack vector is the delivery of a malicious PDB file that an authorized user opens with calibre; this inference comes from the description that the flaw allows local file writes without network exposure. Elevated local privileges would further increase the danger.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade calibre to version 9.3.0 or later to remove the vulnerable PDB readers.
  • Restrict write permissions on the calibre working directories to prevent unauthorized file overwrite or apply strict OS-level ACLs.
  • Monitor file system changes for unexpected writes to critical directories and review any unauthorized modifications promptly.

Generated by OpenCVE AI on April 18, 2026 at 17:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4554-1 calibre security update
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Calibre-ebook
Calibre-ebook calibre
CPEs cpe:2.3:a:calibre-ebook:calibre:*:*:*:*:*:*:*:*
Vendors & Products Calibre-ebook
Calibre-ebook calibre
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Kovidgoyal
Kovidgoyal calibre
Vendors & Products Kovidgoyal
Kovidgoyal calibre
Type Values Removed Values Added
Description calibre is a cross-platform e-book manager for viewing, converting, editing, and cataloging e-books. Versions 9.2.1 and below are vulnerable to Path Traversal through PDB readers (both 132-byte and 202-byte header variants) that allow arbitrary file writes with arbitrary extension and arbitrary content anywhere the user has write permissions. Files are written in 'wb' mode, silently overwriting existing files. This can lead to potential code execution and Denial of Service through file corruption. This issue has been fixed in version 9.3.0.
Title calibre: Path Traversal can Lead to Arbitrary File Write and Potential Code Execution
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 20, 2026, 4:41 PM
Reserved
Feb 10, 2026, 6:01 PM
Status
Analyzed
Published
Feb 20, 2026, 2:16 AM
Modified
Jun 17, 2026, 10:25 AM