Skip to content

armgit / xerj

Public Imported from GitHub
0

AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.

fix(deps): calamine 0.38.0 for RUSTSEC-2026-0436 (cargo-audit red on every PR) (#2912)

Jake Elbirt4f5471fe1690
diff --git a/engine/Cargo.lock b/engine/Cargo.lock
index b36f2dbfc..32dee77e7 100644
--- a/engine/Cargo.lock
+++ b/engine/Cargo.lock
@@ -956,9 +956,9 @@ dependencies = [
[[package]]
name = "calamine"
-version = "0.37.0"
+version = "0.38.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c9ca341b94bc4b29e08970b1a03914fad2dfe177e2ecb67fcd6de9046004aafb"
+checksum = "f431b67cba6122a1f7d26b7adafc71bbdf07026095fe811f5efc025d8748e1d8"
dependencies = [
"atoi_simd",
"byteorder",
diff --git a/engine/crates/xerj-autoindex/Cargo.toml b/engine/crates/xerj-autoindex/Cargo.toml
index e8986b5a7..f1cdb4232 100644
--- a/engine/crates/xerj-autoindex/Cargo.toml
+++ b/engine/crates/xerj-autoindex/Cargo.toml
@@ -144,14 +144,16 @@ quick-xml = "0.41" # XML pull parser + DOCX intern
zip = { version = "9", default-features = false, features = ["deflate"] } # DOCX container
# --- Legacy Microsoft Office binary formats (OLE2 / Compound File Binary) ---
# calamine reads the legacy BIFF `.xls` worksheet stream (it ships its own CFB
-# reader internally); pinned to 0.37.0, which depends on `zip ^9` (the
-# zip 8.x line carries RUSTSEC-2026-0367/0368/0369, fixed in 9.0.0) so it
-# shares this crate's `zip 9` major, and never retains `quick-xml 0.31.0`
+# reader internally); pinned to 0.38.0, the first release with the CFB reader
+# fix for RUSTSEC-2026-0436 (panic and unbounded allocation on a malformed
+# compound file). It depends on `zip ^9` (the zip 8.x line carries
+# RUSTSEC-2026-0367/0368/0369, fixed in 9.0.0) so it shares this crate's
+# `zip 9` major, and never retains `quick-xml 0.31.0`
# (RUSTSEC-2026-0194 / 0195); it brings `quick-xml 0.42` alongside our 0.41.
# Licence: MIT. Its transitive adds are codepage (MIT, for the legacy 8-bit
# cell codepage) and log (MIT/Apache-2.0); byteorder and encoding_rs are
# already here.
-calamine = { version = "=0.37.0", features = ["dates"] }
+calamine = { version = "=0.38.0", features = ["dates"] }
# `cfb` reads the OLE2/Compound File Binary container directly: used by the
# content sniffer to route a `.doc`/`.xls`/other OLE2 file by its stream names,
# and by the `.doc` extractor to pull the WordDocument + Table streams and the