CVE-2018-25023 json
smallvec creates uninitialized value of any type
published 2018-09-25 8 y ago modified 2026-06-17 4 mo ago also GHSA-55m5-whcv-c49c , GHSA-66p5-j55p-32r9 , RUSTSEC-2018-0018 , EUVD-2022-0458
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io smallvec 0.6.13
- servo smallvec 0.6.13
- rust-smallvec Debian 14, Debian 13, Debian 12 1.1.0-1
debian advisories DEBIAN-CVE-2018-25023
- cargo-c openSUSE Tumbleweed 0.8.1~git0.cce1b08-2.1
- zram-generator openSUSE Tumbleweed 1.1.1~git5.8612dbb-1.1
opensuse advisories openSUSE-SU-2024:11720-1openSUSE-SU-2024:11729-1
- github.com/servo/rust-smallvec@e64afc8 commit
- github.com/servo/rust-smallvec#162 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.42% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2018-0018.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | smallvec | <0.6.13 >=0.0.0-0, <0.6.13 |
0.6.13 |
Classification
References
-
github.com
/servo/rust-smallvec/commit/e64afc8c473d43e375ab42bd33db2d0d4ac4e41b
web
-
github.com
/servo/rust-smallvec/pull/162
web
-
rustsec.org
/advisories/RUSTSEC-2018-0018.html
web, exploit, issue-tracking, third-party-advisory, advisory
-
raw.githubusercontent.com
/rustsec/advisory-db/main/crates/smallvec/RUSTSEC-2018-0018.md
web, third-party-advisory
-
github.com
/servo/rust-smallvec/issues/126
web, report
-
github.com
/servo/rust-smallvec
package
-
nvd.nist.gov
/vuln/detail/CVE-2018-25023
advisory
-
crates.io
/crates/smallvec
package
Sources
- CVE List CVE-2018-25023
- GitHub Advisory GHSA-66p5-j55p-32r9
- GitHub Advisory GHSA-55m5-whcv-c49c
- NVD CVE-2018-25023
- OSV RUSTSEC-2018-0018
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.