~ / search / GHSA-mm7v-vpv8-xfc3

GHSA-mm7v-vpv8-xfc3

Double free in smallvec

Source: GitHub Advisory Database (reviewed) Critical CVE-2019-15551

Packages

EcosystemPackageAffectedFixed in
crates.io smallvec >= 0.6.5, < 0.6.10 0.6.10

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.