What’s Vulnerable › Vulnerabilities
CVE-2021-45718
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-12-26 · updated 2026-06-17
- Weakness: CWE-416
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. rollback_hook has a use-after-free.
Affected products
- Rusqlite Project Rusqlite: from 0.25.0 before 0.25.4; from 0.26.0 before 0.26.2 — fixed in 0.25.4, 0.26.2
How to fix
Upgrade to a fixed version: Rusqlite Project Rusqlite 0.25.4, 0.26.2. Check the vendor advisory for mitigations.
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
Get alerted when CVE-2021-45718 or the next vulnerability affects your stack