# smallvec (crates.io)

'Small vector' optimization: store up to a small number of items on the stack

- Latest: 1.16.6 (2026-11-29)
- Licence: MIT
- Downloads: 435095601 last 90 days
- Advisories on the latest version: 0

- CVE-2021-25900 CRITICAL: Buffer overflow in SmallVec::insert_many Fixed in 0.6.14, 1.6.1.
- CVE-2018-25023 HIGH: Use of Uninitialized Resource in smallvec Fixed in 0.6.13.
- CVE-2018-25023 MODERATE: smallvec creates uninitialized value of any type Fixed in 0.6.13.
- CVE-2019-15554 CRITICAL: Memory corruption in smallvec Fixed in 0.6.10.
- CVE-2019-15551 CRITICAL: Double free in smallvec Fixed in 0.6.10.
- CVE-2018-20991 CRITICAL: Double free in smallvec Fixed in 0.6.3.
- CVE-2021-25900 : Buffer overflow in SmallVec::insert_many Fixed in 0.6.14, 1.6.1.
- CVE-2019-15554 : Memory corruption in SmallVec::grow() Fixed in 0.6.10.
- CVE-2019-15551 : Double-free and use-after-free in SmallVec::grow() Fixed in 0.6.10.
- CVE-2018-25023 : smallvec creates uninitialized value of any type Fixed in 0.6.13.
- CVE-2018-20991 : Possible double free during unwinding in SmallVec::insert_many Fixed in 0.4.5, 0.5.1, 0.6.3.

Sources: crates.io, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.
