Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. smallvec
  4. ›
  5. CVE-2019-15554

CVE-2019-15554: Memory corruption in smallvec

August 25, 2021 (updated June 13, 2023)

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.

References

  • github.com/advisories/GHSA-69gw-hgj3-45m7
  • github.com/servo/rust-smallvec
  • github.com/servo/rust-smallvec/issues/149
  • nvd.nist.gov/vuln/detail/CVE-2019-15554
  • rustsec.org/advisories/RUSTSEC-2019-0012.html

Code Behaviors & Features

Detect and mitigate CVE-2019-15554 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.6.3 before 0.6.10

Fixed versions

  • 0.6.10

Solution

Upgrade to version 0.6.10 or above.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-787: Out-of-bounds Write

Source file

cargo/smallvec/CVE-2019-15554.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:58 +0000.