{"cve":"CVE-2021-45719","nvd":{"published":"2021-12-26T22:15:09.353","modified":"2026-06-17T04:14:00.800","status":"Modified","description":"An issue was discovered in the rusqlite crate 0.25.x before 0.25.4 and 0.26.x before 0.26.2 for Rust. update_hook has a use-after-free.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-416"],"references":["https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/rusqlite/RUSTSEC-2021-0128.md","https://rustsec.org/advisories/RUSTSEC-2021-0128.html","https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/rusqlite/RUSTSEC-2021-0128.md","https://rustsec.org/advisories/RUSTSEC-2021-0128.html"],"products":["rusqlite_project:rusqlite"],"source":"nvd","synced_at":"2026-10-19T21:26:33.761856376+00:00"},"epss":{"cve":"CVE-2021-45719","score":0.01219,"percentile":0.68657,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-4qr3-m7ww-hh9g","url":"https://osv.dev/vulnerability/GHSA-4qr3-m7ww-hh9g","summary":"Use After Free in rusqlite","modified":"2024-03-15T00:05:18.748750Z","packages":[{"ecosystem":"crates.io","name":"rusqlite","purl":"pkg:cargo/rusqlite","ranges":[">=0.25.0 <0.25.4"],"fixed":["0.25.4"]},{"ecosystem":"crates.io","name":"rusqlite","purl":"pkg:cargo/rusqlite","ranges":[">=0.26.0 <0.26.2"],"fixed":["0.26.2"]}]},{"id":"GHSA-87xh-9q6h-r5cc","url":"https://osv.dev/vulnerability/GHSA-87xh-9q6h-r5cc","summary":"Use After Free in rusqlite","modified":"2024-03-15T00:05:18.748750Z","packages":[{"ecosystem":"crates.io","name":"rusqlite","purl":"pkg:cargo/rusqlite","ranges":[">=0.25.0 <0.25.4"],"fixed":["0.25.4"]},{"ecosystem":"crates.io","name":"rusqlite","purl":"pkg:cargo/rusqlite","ranges":[">=0.26.0 <0.26.2"],"fixed":["0.26.2"]}]},{"id":"GHSA-92cx-4xm7-jr9m","url":"https://osv.dev/vulnerability/GHSA-92cx-4xm7-jr9m","summary":"Use After Free in rusqlite","modified":"2024-03-15T00:05:18.748750Z","packages":[{"ecosystem":"crates.io","name":"rusqlite","purl":"pkg:cargo/rusqlite","ranges":[">=0.25.0 <0.25.4"],"fixed":["0.25.4"]},{"ecosystem":"crates.io","name":"rusqlite","purl":"pkg:cargo/rusqlite","ranges":[">=0.26.0 <0.26.2"],"fixed":["0.26.2"]}]},{"id":"GHSA-cm8g-544f-p9x9","url":"https://osv.dev/vulnerability/GHSA-cm8g-544f-p9x9","summary":"Use After Free in rusqlite","modified":"2024-03-15T00:05:18.748750Z","packages":[{"ecosystem":"crates.io","name":"rusqlite","purl":"pkg:cargo/rusqlite","ranges":[">=0.25.0 <0.25.4"],"fixed":["0.25.4"]},{"ecosystem":"crates.io","name":"rusqlite","purl":"pkg:cargo/rusqlite","ranges":[">=0.26.0 <0.26.2"],"fixed":["0.26.2"]}]},{"id":"GHSA-f6f2-3w33-54r9","url":"https://osv.dev/vulnerability/GHSA-f6f2-3w33-54r9","summary":"Use After Free in rusqlite","modified":"2024-03-15T00:05:18.748750Z","packages":[{"ecosystem":"crates.io","name":"rusqlite","purl":"pkg:cargo/rusqlite","ranges":[">=0.25.0 <0.25.4"],"fixed":["0.25.4"]},{"ecosystem":"crates.io","name":"rusqlite","purl":"pkg:cargo/rusqlite","ranges":[">=0.26.0 <0.26.2"],"fixed":["0.26.2"]}]},{"id":"GHSA-g4g4-3pqw-8m7f","url":"https://osv.dev/vulnerability/GHSA-g4g4-3pqw-8m7f","summary":"Use After Free in rusqlite","modified":"2024-03-15T00:05:18.748750Z","packages":[{"ecosystem":"crates.io","name":"rusqlite","purl":"pkg:cargo/rusqlite","ranges":[">=0.25.0 <0.25.4"],"fixed":["0.25.4"]},{"ecosystem":"crates.io","name":"rusqlite","purl":"pkg:cargo/rusqlite","ranges":[">=0.26.0 <0.26.2"],"fixed":["0.26.2"]}]},{"id":"GHSA-g87r-23vw-7f87","url":"https://osv.dev/vulnerability/GHSA-g87r-23vw-7f87","summary":"Use After Free in rusqlite","modified":"2024-03-15T00:05:18.748750Z","packages":[{"ecosystem":"crates.io","name":"rusqlite","purl":"pkg:cargo/rusqlite","ranges":[">=0.25.0 <0.25.4"],"fixed":["0.25.4"]},{"ecosystem":"crates.io","name":"rusqlite","purl":"pkg:cargo/rusqlite","ranges":[">=0.26.0 <0.26.2"],"fixed":["0.26.2"]}]},{"id":"GHSA-q89g-4vhh-mvvm","url":"https://osv.dev/vulnerability/GHSA-q89g-4vhh-mvvm","summary":"Incorrect Lifetime Bounds on Closures in `rusqlite`","modified":"2024-03-15T00:05:18.748750Z","packages":[{"ecosystem":"crates.io","name":"rusqlite","purl":"pkg:cargo/rusqlite","ranges":[">=0.26.0 <0.26.2"],"fixed":["0.26.2"]},{"ecosystem":"crates.io","name":"rusqlite","purl":"pkg:cargo/rusqlite","ranges":[">=0.25.0 <0.25.4"],"fixed":["0.25.4"]}]},{"id":"RUSTSEC-2021-0128","url":"https://osv.dev/vulnerability/RUSTSEC-2021-0128","summary":"Incorrect Lifetime Bounds on Closures in `rusqlite`","modified":"2024-03-15T00:05:18.748750Z","packages":[{"ecosystem":"crates.io","name":"rusqlite","purl":"pkg:cargo/rusqlite","ranges":[">=0.25.0 <0.25.4",">=0.26.0-0 <0.26.2"],"fixed":["0.25.4","0.26.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}