All reports
Critical

Double free in smallvec

Affected versions

Version ranges need review.

Rust / Cargosmallvec
Affected versions
>= 0.6.5, < 0.6.10
Fixed version
0.6.10
Rust / Cargosmallvec
Affected versions
>=0.6.5 <0.6.10
Fixed version
0.6.10

Exploitation

CVE-2019-15551

Probability of exploitation in the next 30 days: 1.86%

FIRST EPSS · 2026-11-22

Description

Attempting to call grow on a spilled SmallVec with a value equal to the current capacity causes it to free the existing data. This performs a double free immediately and may lead to use-after-free on subsequent accesses to the SmallVec contents. An attacker that controls the value passed to grow may exploit this flaw to obtain memory contents or gain remote code execution.

Links

Credits

  • tdunlap607