smallvec

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

1.16.6Latest, 29 Nov 2026
435MDownloads, last 90 days
0Advisories on the latest
11Advisories, all versions
MITLicence
1.8KStars

Known advisories

Severity Advisory Fix Published
Critical Buffer overflow in SmallVec::insert_many CVE-2021-25900 Fixed in 0.6.14, 1.6.1 24 May 2022
High Use of Uninitialized Resource in smallvec CVE-2018-25023 Fixed in 0.6.13 6 Jan 2022
Moderate smallvec creates uninitialized value of any type CVE-2018-25023 Fixed in 0.6.13 25 Aug 2021
Critical Memory corruption in smallvec CVE-2019-15554 Fixed in 0.6.10 25 Aug 2021
Critical Double free in smallvec CVE-2019-15551 Fixed in 0.6.10 25 Aug 2021
Critical Double free in smallvec CVE-2018-20991 Fixed in 0.6.3 25 Aug 2021
Buffer overflow in SmallVec::insert_many CVE-2021-25900 Fixed in 0.6.14, 1.6.1 8 Jan 2021
Memory corruption in SmallVec::grow() CVE-2019-15554 Fixed in 0.6.10 19 Jul 2019
Double-free and use-after-free in SmallVec::grow() CVE-2019-15551 Fixed in 0.6.10 6 Jun 2019
smallvec creates uninitialized value of any type CVE-2018-25023 Fixed in 0.6.13 25 Sep 2018
Possible double free during unwinding in SmallVec::insert_many CVE-2018-20991 Fixed in 0.4.5, 0.5.1, 0.6.3 19 Jul 2018

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