{"schemaVersion":3,"id":"CVE-2026-73248","aliases":["UBUNTU-CVE-2026-73248","DEBIAN-CVE-2026-73248"],"status":"published","duplicateOf":null,"title":null,"description":"calibre is an e-book manager. Prior to 9.12.0, calibre processes attacker-controlled composite_template metadata from a malicious EPUB, OPF, PDF, or similar file through program: and a nested template() call whose formatter does not inherit allow_python_templates=False, allowing a nested python: template to reach compile_python_template and execute arbitrary Python code when the file is opened or imported. This issue is fixed in version 9.12.0.","dates":{"published":"2026-08-11T21:56:08.569Z","modified":"2026-08-12T13:52:18.881Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.5,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.5,"severity":"high","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":8.5,"severity":"high","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":8.5,"severity":"high","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.5,"severity":"high","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00197,"percentile":0.08936,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":-0.016,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00213},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00197,"percentile":0.08936}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00213,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00197,"percentile":0.08936}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')","description":"The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. \"eval\").","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/95.html"}],"affected":[{"vendor":"debian","product":"calibre","name":"calibre","label":"calibre","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/calibre","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 9.12.0+ds+~0.10.6-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 9.12.0+ds+~0.10.6-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"calibre","name":"calibre","label":"calibre","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/calibre","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"kovidgoyal","product":"calibre","name":"calibre","label":"calibre","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 9.12.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.12.0","eol":null,"hubHref":"/vendor/kovidgoyal/calibre"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/kovidgoyal/calibre/security/advisories/GHSA-4f7g-rjfp-hmvx","label":"github.com/kovidgoyal/calibre/security/advisories/GHSA-4f7g-rjfp-hmvx","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT"]},{"url":"https://github.com/kovidgoyal/calibre/commit/dac9990458374a81a5372a768bba6527d965aac8","label":"github.com/kovidgoyal/calibre/commit/dac9990458374a81a5372a768bba6527d965aac8","hostname":"github.com","tags":["X Refsource MISC","REPORT"]},{"url":"https://github.com/kovidgoyal/calibre/releases/tag/v9.12.0","label":"github.com/kovidgoyal/calibre/releases/tag/v9.12.0","hostname":"github.com","tags":["X Refsource MISC","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2026-73248","label":"ubuntu.com/security/CVE-2026-73248","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-73248","label":"www.cve.org/CVERecord?id=CVE-2026-73248","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-73248","label":"security-tracker.debian.org/tracker/CVE-2026-73248","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-08-11T21:56:08.569Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-12T13:52:18.881Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T01:59:29.732Z","stale":false,"partial":false}}