Critical
Security advisory
An issue was discovered in the safe-transmute crate before 0.10.1 for Rust. A constructor's arguments are in the wrong order, causing heap memory corruption.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-21000
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:18 UTC · Revision 1
Source evidence
An issue was discovered in the safe-transmute crate before 0.10.1 for Rust. A constructor's arguments are in the wrong order, causing heap memory corruption.
osv:CVE-2018-21000
Complete source record
{
"id": "8c7cb8deadff9860798ea55c2e18a51bb3d1f9cc7cc18b421148c8e2ffddc572",
"url": "https://osv.dev/vulnerability/CVE-2018-21000",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-21000",
"summary": "An issue was discovered in the safe-transmute crate before 0.10.1 for Rust. A constructor's arguments are in the wrong order, causing heap memory corruption.",
"evidence": "osv:CVE-2018-21000",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2018-21000",
"aliases": [
"CVE-2018-21000",
"GHSA-2v78-j59h-fmpf",
"RUSTSEC-2018-0013"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/nabijaczleweli/safe-transmute-rs",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "26ec6b7573c4dfec37109188095674c16f709d73"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:safe-transmute_project:safe-transmute:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.10.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.10.0",
"v0.9.0",
"v0.8.0",
"v0.7.0",
"v0.6.0",
"v0.5.0",
"v0.4.0",
"v0.3.1",
"v0.3.0",
"v0.2.0",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-21000.json"
}
}
],
"modified": "2026-10-20T10:50:07.727065129Z",
"provider": "osv",
"references": [
"https://rustsec.org/advisories/RUSTSEC-2018-0013.html",
"https://github.com/nabijaczleweli/safe-transmute-rs/pull/36"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-21000",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 381308,
"published_at": "2019-08-26T15:15:11.517+00:00"
}