{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-36086","published":"2022-09-07T23:15:14.097000Z","last_modified":"2026-06-17T04:52:53.377000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-119","CWE-787","CWE-1284"],"cpes":[{"criteria":"cpe:2.3:a:rust-osdev:linked-list-allocator:*:*:*:*:*:rust:*:*","part":"a","vendor":"rust-osdev","product":"linked-list-allocator","version_end_excluding":"0.10.2"}],"cpes_truncated":false,"vendors":["rust-osdev"],"products":["rust-osdev/linked-list-allocator"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"epss":{"score":0.00858,"percentile":0.55999,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-xg8p-34w2-j49j","ecosystem":"crates.io","name":"linked_list_allocator","purl":"pkg:cargo/linked_list_allocator","ranges":[{"introduced":"0","fixed":"0.10.2"}],"versions":[],"versions_truncated":false},{"advisory":"RUSTSEC-2022-0063","ecosystem":"crates.io","name":"linked_list_allocator","purl":"pkg:cargo/linked_list_allocator","ranges":[{"introduced":"0.0.0-0","fixed":"0.10.2"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2022-36086/","html_en":"/en/cve/CVE-2022-36086/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-36086","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-36086"},"untrusted":{"vendor_name":"Rust-osdev","product_name":"Linked-list-allocator","desc_en":"linked_list_allocator is an allocator usable for no_std systems. Prior to version 0.10.2, the heap initialization methods were missing a minimum size check for the given heap size argument. This could lead to out-of-bound writes when a heap was initialized with a size smaller than `3 * size_of::<usize>` because of metadata write operations. This vulnerability impacts all the initialization functions on the `Heap` and `LockedHeap` types, including `Heap::new`, `Heap::init`, `Heap::init_from_slice`, and `LockedHeap::new`. It also affects multiple uses of the `Heap::extend` method. Version 0.10.2 contains a patch for the issue. As a workaround, ensure that the heap is only initialized with a size larger than `3 * size_of::<usize>` and that the `Heap::extend` method is only called with sizes larger than `2 * size_of::<usize>()`. Also, ensure that the total heap size is (and stays) a multiple of `2 * size_of::<usize>()`.","affected":[{"untrusted_vendor":"rust-osdev","untrusted_product":"linked-list-allocator","versions":[]}],"references":[{"url":"https://github.com/rust-osdev/linked-list-allocator/commit/013b0758643943e8df5b17bbb495460ff47e8bbf","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/rust-osdev/linked-list-allocator/security/advisories/GHSA-xg8p-34w2-j49j","tags":["Exploit","Mitigation","Third Party Advisory"]}]}}