Critical
Security advisory
An issue was discovered in the rusqlite crate before 0.23.0 for Rust. Memory safety can be violated because sessions.rs has a use-after-free.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-35866, CVE-2020-35867, CVE-2020-35868, CVE-2020-35869, CVE-2020-35870, CVE-2020-35871, CVE-2020-35872, CVE-2020-35873
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:12 UTC · Revision 1
Source evidence
An issue was discovered in the rusqlite crate before 0.23.0 for Rust. Memory safety can be violated because sessions.rs has a use-after-free.
osv:CVE-2020-35873
Complete source record
{
"id": "3de50a21d92cab64f4eefed36797ae9f474ad67d280541eb36c4a488da1b6ecd",
"url": "https://osv.dev/vulnerability/CVE-2020-35873",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-35873",
"summary": "An issue was discovered in the rusqlite crate before 0.23.0 for Rust. Memory safety can be violated because sessions.rs has a use-after-free.",
"evidence": "osv:CVE-2020-35873",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2020-35873",
"aliases": [
"CVE-2020-35866",
"CVE-2020-35867",
"CVE-2020-35868",
"CVE-2020-35869",
"CVE-2020-35870",
"CVE-2020-35871",
"CVE-2020-35872",
"CVE-2020-35873",
"GHSA-28ph-f7gx-fqj8",
"GHSA-3cgf-9m6x-pwwr",
"GHSA-6q5w-m3c5-rv95",
"GHSA-8h4j-vm3r-vcq3",
"GHSA-8r7q-r9mx-35rh",
"GHSA-g4w7-3qr8-5623",
"GHSA-q3cc-7p7g-392c",
"GHSA-rjh8-p66p-jrh5",
"RUSTSEC-2020-0014"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/rusqlite/rusqlite",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "54043c803c83517aa54b463b098a61dfa28c54f4"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:rusqlite_project:rusqlite:*:*:*:*:*:rust:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.23.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "54043c803c83517aa54b463b098a61dfa28c54f4"
}
],
"source": "REFERENCES_TAG",
"original_tag": "0.23.0"
}
]
}
}
],
"versions": [
"0.14.0",
"0.22.0",
"libsqlite3-sys-v0.17.2",
"0.21.0",
"0.20.0",
"0.19.0",
"0.18.0",
"0.17.0",
"0.16.0",
"0.15.0",
"0.13.0",
"0.12.0",
"0.11.0",
"0.10.3",
"0.10.2",
"0.10.1",
"0.8.0",
"0.6.0",
"0.10.0",
"0.9.5",
"0.9.3",
"0.9.2",
"0.9.1",
"0.9.0",
"0.7.2",
"0.7.1",
"0.7.0",
"0.5.0",
"0.4.0",
"0.3.1",
"0.3.0",
"0.2.0",
"0.1.0",
"0.0.16",
"0.0.15",
"0.0.14",
"0.0.12",
"0.0.11",
"0.0.10",
"0.0.9",
"0.0.8",
"0.0.7",
"0.0.2",
"0.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35873.json"
}
}
],
"modified": "2026-10-20T10:53:26.792587883Z",
"provider": "osv",
"references": [
"https://github.com/rusqlite/rusqlite/releases/tag/0.23.0",
"https://rustsec.org/advisories/RUSTSEC-2020-0014.html"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-35866",
"evidence": "/aliases"
},
{
"value": "CVE-2020-35867",
"evidence": "/aliases"
},
{
"value": "CVE-2020-35868",
"evidence": "/aliases"
},
{
"value": "CVE-2020-35869",
"evidence": "/aliases"
},
{
"value": "CVE-2020-35870",
"evidence": "/aliases"
},
{
"value": "CVE-2020-35871",
"evidence": "/aliases"
},
{
"value": "CVE-2020-35872",
"evidence": "/aliases"
},
{
"value": "CVE-2020-35873",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 384315,
"published_at": "2020-12-31T10:15:15.69+00:00"
}