{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-21000","id":"CVE-2018-21000","title":"Heap overflow or corruption in safe-transmute","description":"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.","descriptionLong":"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":"2019-08-26T14:29:49.000Z","updated":"2026-10-20T10:50:07.727065129Z","reserved":"2019-08-25T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"safe-transmute","purl":"pkg:cargo/safe-transmute","ranges":[">=0.4.0 <0.10.1"],"fixed":["0.10.1"],"advisory":"GHSA-2v78-j59h-fmpf"}],"cwes":["CWE-119"],"aliases":["GHSA-2v78-j59h-fmpf","RUSTSEC-2018-0013"],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2018-0013.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/nabijaczleweli/safe-transmute-rs/pull/36","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-21000","tags":["advisory"]},{"url":"https://github.com/nabijaczleweli/safe-transmute-rs/commit/a134e06d740f9d7c287f74c0af2cd06206774364","tags":["web"]},{"url":"https://github.com/nabijaczleweli/safe-transmute-rs","tags":["package"]},{"url":"https://crates.io/crates/safe-transmute","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01977,"epssPercentile":0.80917,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-21000","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-21000","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-21000","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2v78-j59h-fmpf","ok":true,"note":"GHSA-2v78-j59h-fmpf"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-21000","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}