{"id":"CVE-2018-25023","aliases":["GHSA-55m5-whcv-c49c","GHSA-66p5-j55p-32r9","RUSTSEC-2018-0018"],"url":"https://o3.security/vulnerability/CVE-2018-25023","summary":"Use of Uninitialized Resource in smallvec","details":"Affected versions of this crate called mem::uninitialized() to create values of a user-supplied type T. This is unsound e.g. if T is a reference type (which must be non-null and thus may not remain uninitialized). The flaw was corrected by avoiding the use of mem::uninitialized(), using MaybeUninit instead.","published":"2021-12-27T00:15:07.950Z","modified":"2026-11-08T02:45:07.352752959Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},"epss":{"score":0.01389,"percentile":0.70967,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"crates.io","name":"smallvec","fixedVersion":"0.6.13"}],"fix":{"url":"https://github.com/servo/rust-smallvec/commit/e64afc8c473d43e375ab42bd33db2d0d4ac4e41b","label":"servo/rust-smallvec@e64afc8"},"references":[{"type":"ADVISORY","url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/smallvec/RUSTSEC-2018-0018.md"},{"type":"REPORT","url":"https://rustsec.org/advisories/RUSTSEC-2018-0018.html"},{"type":"FIX","url":"https://github.com/servo/rust-smallvec/commit/e64afc8c473d43e375ab42bd33db2d0d4ac4e41b"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25023"},{"type":"WEB","url":"https://github.com/servo/rust-smallvec/issues/126"},{"type":"WEB","url":"https://github.com/servo/rust-smallvec/pull/162"},{"type":"PACKAGE","url":"https://github.com/servo/rust-smallvec"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-11-08T02:45:07.352752959Z"}}