Version in base suite: 6.13.0+repack-2+deb12u4 Base version: calibre_6.13.0+repack-2+deb12u4 Target version: calibre_6.13.0+repack-2+deb12u5 Base file: /srv/ftp-master.debian.org/ftp/pool/main/c/calibre/calibre_6.13.0+repack-2+deb12u4.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/c/calibre/calibre_6.13.0+repack-2+deb12u5.dsc changelog | 6 ++++++ patches/0036-Fix-CVE-2025-64486.patch | 23 +++++++++++++++++++++++ patches/series | 1 + 3 files changed, 30 insertions(+) diff -Nru calibre-6.13.0+repack/debian/changelog calibre-6.13.0+repack/debian/changelog --- calibre-6.13.0+repack/debian/changelog 2024-08-22 11:41:03.000000000 +0000 +++ calibre-6.13.0+repack/debian/changelog 2025-11-09 09:15:24.000000000 +0000 @@ -1,3 +1,9 @@ +calibre (6.13.0+repack-2+deb12u5) bookworm; urgency=medium + + * Fix CVE-2025-64486 + + -- YOKOTA Hiroshi Sun, 09 Nov 2025 18:15:24 +0900 + calibre (6.13.0+repack-2+deb12u4) bookworm; urgency=medium * Fix #2075131 [Private bug](https://bugs.launchpad.net/calibre/+bug/2075131) diff -Nru calibre-6.13.0+repack/debian/patches/0036-Fix-CVE-2025-64486.patch calibre-6.13.0+repack/debian/patches/0036-Fix-CVE-2025-64486.patch --- calibre-6.13.0+repack/debian/patches/0036-Fix-CVE-2025-64486.patch 1970-01-01 00:00:00.000000000 +0000 +++ calibre-6.13.0+repack/debian/patches/0036-Fix-CVE-2025-64486.patch 2025-11-09 09:15:24.000000000 +0000 @@ -0,0 +1,23 @@ +From: Kovid Goyal +Date: Thu, 6 Nov 2025 09:36:53 +0530 +Subject: Fix CVE-2025-64486 + +Bug: https://github.com/kovidgoyal/calibre/security/advisories/GHSA-hpwq-c98h-xp8g +Origin: https://github.com/kovidgoyal/calibre/commit/6f94bce214bf7d43c829804db3741afa5e83c0c5 +--- + src/calibre/ebooks/conversion/plugins/fb2_input.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/calibre/ebooks/conversion/plugins/fb2_input.py b/src/calibre/ebooks/conversion/plugins/fb2_input.py +index dae3137..a71011b 100644 +--- a/src/calibre/ebooks/conversion/plugins/fb2_input.py ++++ b/src/calibre/ebooks/conversion/plugins/fb2_input.py +@@ -161,7 +161,7 @@ class FB2Input(InputFormatPlugin): + from calibre.ebooks.fb2 import base64_decode + self.binary_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', '') + fname = elem.attrib['id'] + ext = ct.rpartition('/')[-1].lower() diff -Nru calibre-6.13.0+repack/debian/patches/series calibre-6.13.0+repack/debian/patches/series --- calibre-6.13.0+repack/debian/patches/series 2024-08-22 11:41:03.000000000 +0000 +++ calibre-6.13.0+repack/debian/patches/series 2025-11-09 09:15:24.000000000 +0000 @@ -33,3 +33,4 @@ 0033-Fix-2075130-Private-bug-https-bugs.launchpad.net-cal.patch 0034-Fix-2075128-Private-bug-https-bugs.launchpad.net-cal.patch 0035-Fix-2076515-calibredb-list-command-ignores-fields-op.patch +0036-Fix-CVE-2025-64486.patch