Storage: bundled SQLite updated past RUSTSEC-2026-0459 #1451
Description
Context — libsqlite3-sys 0.38.2 bundles SQLite 3.53.2, which RUSTSEC-2026-0459 (CVE-2026-119375) reports: a database file opened with a sibling -wal file of a different page size can return uninitialised page-cache memory. Local vector: the victim has to open a pair of files a less trusted party wrote. The fix is libsqlite3-sys 0.39 (SQLite 3.54), which diesel 2.3.14 — the latest — does not accept (>=0.17.2, <0.39.0). The advisory was ignored in deny.toml for the 1.0.0 release, with this ticket as its reason.
Change — Once a diesel release accepts libsqlite3-sys 0.39, the workspace takes it and the ignore leaves deny.toml.
To do
- bump
diesel/diesel_migrationsandlibsqlite3-sysin[workspace.dependencies]when diesel allows it - remove the
RUSTSEC-2026-0459entry fromdeny.toml - check the bundled SQLite version the binary reports
Tests — cargo deny check passes without the ignore; cargo test --workspace --exclude e2e and the e2e scenarios (23_backups, 25_libraries at least) pass.
Activity
Advisories: SQLite's WAL advisory ignored until diesel accepts the fix (
vmillet-dev commentedon Nov 13, 2026
Fixed by #1516, merged into
dev/1.0.1: diesel 2.4, libsqlite3-sys 0.40 (SQLite 3.54.1), the RUSTSEC-2026-0459 ignore removed; the Cargo deny job is green.