Skip to content

Storage: bundled SQLite updated past RUSTSEC-2026-0459 #1451

Closed

Description

@vmillet-dev

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_migrations and libsqlite3-sys in [workspace.dependencies] when diesel allows it
  • remove the RUSTSEC-2026-0459 entry from deny.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

  1. added
    security
    on Nov 9, 2026
  2. vmillet-dev commented on Nov 13, 2026

    @vmillet-dev
    OwnerAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    security

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions