Eval Injection in Calibre - #VU140778

 

Eval Injection in Calibre - #VU140778

Published: August 3, 2026


Vulnerability identifier: #VU140778
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-95
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to improper neutralization of directives in dynamically evaluated code in the template() function and formatter when processing crafted composite_template metadata from an opened document. A remote attacker can trick the victim into opening a crafted EPUB or PDF file to execute arbitrary code.

User interaction is required to open a crafted file.


Affected software

Calibre

Remediation

Install security update from vendor's website.

Calibre - update to 9.12.0

External References

Related Security Bulletins