CVE-2018-25023
HIGH 7.5CVSS 3.1Use of Uninitialized Resource in smallvec
An issue was discovered in the smallvec crate before 0.6.13 for Rust. It can create an uninitialized value of any type, including a reference type.
- Published
- 27 Dec 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-457CWE-908
- Also known as
- GHSA-55m5-whcv-c49cGHSA-66p5-j55p-32r9RUSTSEC-2018-0018
- Sources
- NVDJSONOSV GHSA-55m5-whcv-c49cJSONOSV GHSA-66p5-j55p-32r9JSONOSV RUSTSEC-2018-0018JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | servo | smallveccpe:2.3:a:servo:smallvec:*:*:*:*:*:rust:*:* |
< 0.6.13 | 0.6.13 |
| OSV | crates.io | smallvec | < 0.6.13 | 0.6.13 |
| OSV | crates.io | smallvec | >= 0.0.0-0, < 0.6.13 | 0.6.13 |
References
- https://github.com/servo/rust-smallvec/commit/e64afc8c473d43e375ab42bd33db2d0d4ac4e41b · WEB
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/smallvec/RUSTSEC-2018-0018.md · Third Party Advisory, WEB
- https://rustsec.org/advisories/RUSTSEC-2018-0018.html · Exploit, Issue Tracking, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2018-25023 · ADVISORY
- https://github.com/servo/rust-smallvec/issues/126 · WEB, REPORT
- https://github.com/servo/rust-smallvec/pull/162 · WEB
- https://github.com/servo/rust-smallvec · PACKAGE
- https://crates.io/crates/smallvec · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 27 Dec 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Sep 2018)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)