Medium
Security advisory
An issue was discovered in the pyo3 crate before 0.12.4 for Rust. There is a reference-counting error and use-after-free in From>.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-35917
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 06:24 UTC · Revision 1
Source evidence
An issue was discovered in the pyo3 crate before 0.12.4 for Rust. There is a reference-counting error and use-after-free in From>.
osv:CVE-2020-35917
Complete source record
{
"id": "dbaa27b18b7df457f605fe8ff1d970e1bce46eb6b1a0d7268b4b0f9957ff4ffe",
"url": "https://osv.dev/vulnerability/CVE-2020-35917",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-35917",
"summary": "An issue was discovered in the pyo3 crate before 0.12.4 for Rust. There is a reference-counting error and use-after-free in From>.",
"evidence": "osv:CVE-2020-35917",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-35917",
"aliases": [
"CVE-2020-35917",
"GHSA-2vx6-fcw6-hpr6",
"RUSTSEC-2020-0074"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/pyo3/pyo3",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "0fdd09afda0c60562ced9df8734778de8555eb10"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:pyo3_project:pyo3:*:*:*:*:*:rust:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.12.4"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.12.3",
"v0.11.1",
"v0.11.0",
"v0.10.0",
"v0.10.1",
"v0.9.1",
"v0.9.0",
"v0.9.0-alpha.1",
"v0.8.5",
"v0.8.4",
"v0.8.3",
"v0.8.2",
"v0.8.1",
"v0.8.0",
"v0.7.0",
"v0.7.0-alpha.1",
"v0.6.0",
"pyo3-derive-backend-0.6.0",
"v0.6.0-alpha.4",
"v0.6.0-alpha.3",
"v0.6.0-alpha.2",
"v0.6.0-alpha.1",
"v0.5.0",
"v0.5.0-alpha.3",
"v0.5.0-alpha.2",
"v0.4.1",
"v0.4.0",
"v0.3.2",
"v0.3.1",
"v0.3.0",
"v0.2.6",
"v0.2.5",
"v0.2.4",
"v0.2.3",
"v0.2.2",
"0.2.2",
"v0.2.1",
"0.2.1",
"v0.2.0",
"0.2.0",
"v0.1.0",
"0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35917.json"
}
}
],
"modified": "2026-10-24T10:30:38.860974311Z",
"provider": "osv",
"references": [
"https://rustsec.org/advisories/RUSTSEC-2020-0074.html"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-35917",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 434548,
"published_at": "2020-12-31T09:15:15.833+00:00"
}