{"id":"RUSTSEC-2026-0459","revision":"ecfc8459f1a14efd8245608ab5d9a970","records":[{"revision":"ecfc8459f1a14efd8245608ab5d9a970","observedAt":"2026-11-12T08:55:36.464+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0459","aliases":["CVE-2026-119375","GHSA-72w2-rjgg-q729","RUSTSEC-2026-0502"],"title":"`libsqlite3-sys` via C SQLite CVE-2026-119375","description":"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.\n\nAs `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](https://github.com/rusqlite/rusqlite/releases/tag/v0.41.0). `libsqlite3-sys` `0.39` declares Rust 1.88 and `rusqlite` `0.41` declares Rust 1.89.\n\nOnly 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.","state":0,"publishedAt":"2026-10-30T12:00:00+00:00","modifiedAt":"2026-11-12T08:11:00.0973925+00:00","affected":[{"ecosystem":"crates.io","name":"libsqlite3-sys","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.6.0"},{"kind":"fixed","version":"0.39.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":null,"severity":null}],"references":["https://crates.io/crates/libsqlite3-sys","https://rustsec.org/advisories/RUSTSEC-2026-0459.html","https://nvd.nist.gov/vuln/detail/CVE-2026-119375","https://sqlite.org/bugs/info/2026-08-17T15:54:41Z","https://github.com/sqlite/sqlite/commit/e5bf119821f25be1d7f10ef0a2edbe175289166e","https://sqlite.org/releaselog/3_54_0.html","https://github.com/rusqlite/rusqlite/releases/tag/v0.41.0"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0459","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0459","identifiers":["RUSTSEC-2026-0459","CVE-2026-119375","GHSA-72w2-rjgg-q729","RUSTSEC-2026-0502"]},"retained":false,"historicalAffected":[]}],"coverage":[]}