Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. rusqlite
  4. ›
  5. CVE-2021-45716

CVE-2021-45716: Use After Free in rusqlite

January 6, 2022 (updated January 7, 2022)

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. create_collation has a use-after-free.

References

  • github.com/advisories/GHSA-cm8g-544f-p9x9
  • github.com/rusqlite/rusqlite
  • github.com/rusqlite/rusqlite/issues/1048
  • nvd.nist.gov/vuln/detail/CVE-2021-45716
  • raw.githubusercontent.com/rustsec/advisory-db/main/crates/rusqlite/RUSTSEC-2021-0128.md
  • rustsec.org/advisories/RUSTSEC-2021-0128.html

Code Behaviors & Features

Detect and mitigate CVE-2021-45716 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.25.0 before 0.25.4, all versions starting from 0.26.0 before 0.26.2

Fixed versions

  • 0.25.4
  • 0.26.2

Solution

Upgrade to versions 0.25.4, 0.26.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-416: Use After Free

Source file

cargo/rusqlite/CVE-2021-45716.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:35 +0000.