This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate diesel

Dependencies

(26 total, 2 outdated, 1 insecure)

CrateRequiredLatestStatus
 bigdecimal>=0.0.13, <0.5.00.4.11up to date
 bitflags^2.0.02.13.2up to date
 byteorder^1.01.5.0up to date
 chrono^0.4.200.4.45up to date
 diesel_derives~2.3.02.3.10up to date
 downcast-rs^2.0.12.0.2up to date
 ipnet^2.5.02.12.2up to date
 ipnetwork>=0.12.2, <0.22.00.21.1up to date
 itoa^1.0.01.0.19up to date
 libc^0.2.00.2.191up to date
 libsqlite3-sys ⚠️>=0.17.2, <0.39.00.39.1insecure
 mysqlclient-src>=0.1.0, <0.30.2.2+9.5.0up to date
 mysqlclient-sys>=0.2.5, <0.6.00.5.2up to date
 num-bigint>=0.2.0, <0.5.00.5.1out of date
 num-integer^0.1.390.1.47up to date
 num-traits^0.2.00.2.19up to date
 percent-encoding^2.1.02.3.2up to date
 pq-src^0.30.3.14+libpq-18.6up to date
 pq-sys>=0.4.0, <0.8.00.7.8up to date
 quickcheck^1.0.31.1.0up to date
 r2d2>=0.8.2, <0.9.00.8.10up to date
 serde_json>=0.8.0, <2.01.0.154up to date
 sqlite-wasm-rs>=0.4.0, <0.7.00.6.2up to date
 time^0.3.90.3.55up to date
 url^2.1.02.5.8up to date
 uuid>=0.7.0, <2.0.01.29.2up to date

Dev dependencies

(8 total, all up-to-date)

CrateRequiredLatestStatus
 cfg-if^11.0.5up to date
 dotenvy^0.150.15.7up to date
 getrandom^0.40.4.3up to date
 ipnetwork>=0.12.2, <0.22.00.21.1up to date
 quickcheck^1.0.31.1.0up to date
 sqlite-wasm-rs^0.6.10.6.2up to date
 tempfile^3.10.13.27.0up to date
 wasm-bindgen-test^0.3.490.3.80up to date

Security Vulnerabilities

libsqlite3-sys: `libsqlite3-sys` via C SQLite CVE-2026-119375

RUSTSEC-2026-0459

SQLite versions before 3.54.0 can return uninitialized page-cache memory when a process opens a database file together with a sibling write-ahead-log (-wal) file whose page size differs from the database's. A crafted pair of files can make ordinary queries return stale bytes from the process's memory. The attack vector is local and needs the victim to open the files.

As libsqlite3-sys bundles SQLite when it is built from its bundled source (the bundled feature, which rusqlite's bundled feature enables), it is susceptible to the vulnerability. The releases 0.6.0 to 0.38.2 bundle SQLite 3.13.0 to 3.53.2 and are affected; the earlier releases contain no SQLite source. libsqlite3-sys was updated to bundle the patched version of SQLite in 0.39.0 (SQLite 3.54.0) and 0.39.1 (SQLite 3.54.1), released with rusqlite 0.41. libsqlite3-sys 0.39 declares Rust 1.88 and rusqlite 0.41 declares Rust 1.89.

Only a process that opens a database file, with its -wal, that a less trusted party could have written is exposed. A build that links a system SQLite instead of the bundled source is not affected by the copy in this crate; its exposure is that of the system library's version. The bundled-sqlcipher feature builds SQLCipher instead of SQLite; in 0.39.0 and 0.39.1 it depends on sqlcipher-src =419.0.6, which bundles SQLite 3.53.4 and is affected.