Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

T19 Retire the RUSTSEC-2026-0459 sqlite ignore

Question

deny.toml ignores RUSTSEC-2026-0459 (SQLite before 3.54 can leak uninitialized page-cache bytes when a database is opened together with a write-ahead-log file whose page size differs; CVSS 6.8, local vector, needs a crafted db+wal pair from a less-trusted party). The fix is libsqlite3-sys >=0.39 (bundles SQLite 3.54.0/3.54.1), but no released sqlx admits it: sqlx 0.8.6 pins libsqlite3-sys to the 0.30 line and sqlx 0.9.0 pins >=0.30.1, <0.38.0, both below the patched bundling. sqlx’s main branch has already widened the range to <0.40.0, unreleased as of this writing.

When does a released sqlx (0.9.1+ or a 0.8.x backport) allow libsqlite3-sys >=0.39, and does cerebro’s sqlx usage survive the bump?

Exit predicate

cargo update -p libsqlite3-sys lands 0.39+ within the released sqlx range, just quality and just deny stay green without the ignore, and the ignore entry comes out of deny.toml. If the range still excludes the patched version, this ticket stays open with a dated watch note.

Resolution

To be recorded when the ticket closes.