LiveActive security incident?Get immediate response
CVE Record

CVE-2021-45713: 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.

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

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

rusqlite, a Rust SQLite wrapper, had a use-after-free in create_scalar_function. Applications built with affected 0.25.x or 0.26.x releases could face memory-safety failure when that code path is used. The provided sources do not report active exploitation or CVSS severity.

Executive priority

Prioritize inventory and upgrade where rusqlite is used in production Rust services. Escalate if the affected API is reachable from untrusted inputs. With no cited exploitation or severity score, this is an exposure-driven remediation item rather than a confirmed emergency.

Technical view

CVE-2021-45713 affects rusqlite 0.25.x before 0.25.4 and 0.26.x before 0.26.2. The vulnerable API is create_scalar_function, where a use-after-free was reported. Evidence is limited to the CVE and RustSec advisory; no CWE, CVSS, exploit status, or broader product list is provided.

Likely exposure

Exposure is most likely in Rust applications or services that depend on vulnerable rusqlite versions and use create_scalar_function. Transitive dependencies should also be checked. The source bundle lists no CPEs or named downstream products.

Exploitation context

The source bundle does not cite public exploitation, and the CVE is not marked KEV. Treat exploitability as unconfirmed from these sources. Risk depends on whether attacker-controlled activity can reach the affected scalar-function path.

Researcher notes

The advisory evidence is narrow: affected versions, vulnerable API, and bug class. No exploit details, CVSS vector, CWE mapping, or downstream affected products are provided. Avoid assuming impact beyond applications that actually compile and exercise vulnerable rusqlite versions.

Mitigation direction

  • Upgrade rusqlite 0.25.x to 0.25.4 or later.
  • Upgrade rusqlite 0.26.x to 0.26.2 or later.
  • Check RustSec and project guidance for compatible upgrade paths.
  • Review applications using create_scalar_function for exposure and rollout priority.

Validation and detection

  • Inspect Cargo.lock for rusqlite 0.25.x before 0.25.4 or 0.26.x before 0.26.2.
  • Search code for create_scalar_function usage.
  • Check transitive dependency trees for vulnerable rusqlite versions.
  • Confirm rebuilt artifacts include the upgraded crate version.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2021-45713 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.