{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-25576","id":"CVE-2020-25576","title":"Unaligned memory access in rand_core","description":"An issue was discovered in the rand_core crate before 0.4.2 for Rust. Casting of byte slices to integer slices mishandles alignment constraints.","descriptionLong":"An issue was discovered in the rand_core crate before 0.4.2 for Rust. Casting of byte slices to integer slices mishandles alignment constraints.","published":"2020-09-14T18:16:00.000Z","updated":"2026-10-24T10:30:32.266889513Z","reserved":"2020-09-14T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/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":"rand_core","purl":"pkg:cargo/rand_core","ranges":[">=0.4.0 <0.4.2","<0.3.1",">=0.0.0-0 <0.3.1",">=0.4.0-0 <0.4.2"],"fixed":["0.4.2","0.3.1"],"advisory":"GHSA-mmc9-pwm7-qj5w"}],"cwes":["CWE-704"],"aliases":["GHSA-mmc9-pwm7-qj5w","RUSTSEC-2019-0035"],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2019-0035.html","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/rust-random/rand/security/advisories/GHSA-mmc9-pwm7-qj5w","tags":["web"]},{"url":"https://github.com/rust-random/rand","tags":["package"]},{"url":"https://github.com/rust-random/rand/blob/master/rand_core/CHANGELOG.md#050---2019-06-06","tags":["web"]},{"url":"https://crates.io/crates/rand_core","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01602,"epssPercentile":0.76343,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-25576","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25576","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-25576","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mmc9-pwm7-qj5w","ok":true,"note":"GHSA-mmc9-pwm7-qj5w"},{"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-2020-25576","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}