CVE-2018-21000
CRITICAL 9.8CVSS 3.0Heap overflow or corruption in safe-transmute
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.
- Published
- 26 Aug 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-119
- Also known as
- GHSA-2v78-j59h-fmpfRUSTSEC-2018-0013
- Sources
- NVDJSONOSV GHSA-2v78-j59h-fmpfJSONOSV RUSTSEC-2018-0013JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | RustSec | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | safe-transmute_project | safe-transmutecpe:2.3:a:safe-transmute_project:safe-transmute:*:*:*:*:*:*:*:* |
< 0.10.1 | 0.10.1 |
| OSV | crates.io | safe-transmute | >= 0.4.0, < 0.10.1 | 0.10.1 |
References
- https://github.com/nabijaczleweli/safe-transmute-rs/pull/36 · Patch, Third Party Advisory, WEB
- https://rustsec.org/advisories/RUSTSEC-2018-0013.html · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2018-21000 · ADVISORY
- https://github.com/nabijaczleweli/safe-transmute-rs/commit/a134e06d740f9d7c287f74c0af2cd06206774364 · WEB
- https://github.com/nabijaczleweli/safe-transmute-rs · PACKAGE
- https://crates.io/crates/safe-transmute · PACKAGE
History
- 25 Nov 2026 20:30 UTC · NVD: first stored (published 26 Aug 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 27 Nov 2018)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)