---
id: CVE-2019-15554
aliases:
  - RUSTSEC-2019-0012
  - GHSA-69gw-hgj3-45m7
title: 'Memory corruption in SmallVec::grow()'
summary: 'Memory corruption in SmallVec::grow()'
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
vendor: smallvec
product: smallvec
ecosystem: rust
affected:
  - 'smallvec >= 0.6.3, < 0.6.10'
patched:
  - smallvec 0.6.10
published: '2019-07-19'
updated: '2026-07-17'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/RUSTSEC-2019-0012'
references:
  - url: 'https://crates.io/crates/smallvec'
  - url: 'https://rustsec.org/advisories/RUSTSEC-2019-0012.html'
  - url: 'https://github.com/servo/rust-smallvec/issues/149'
tags:
  - osv
  - rust
epss: 0.01926
epssPercentile: 0.78792
ingestedAt: '2026-07-17T19:00:51.712Z'
---

## Overview

Attempting to call `grow` on a spilled SmallVec with a value less than the current capacity causes corruption of memory allocator data structures.

An attacker that controls the value passed to `grow` may exploit this flaw to obtain memory contents or gain remote code execution.

Credits to [@ehuss](https://github.com/ehuss) for discovering, reporting and fixing the bug.

## Affected packages

- `smallvec >= 0.6.3, < 0.6.10`

## Remediation

Upgrade to a patched release:

- `smallvec 0.6.10`
