Live threats

All CVEs / Rust-lang

CVE-2018-1000657Rust-lang Rust

High 7.8

Priority
47
CVSS 3.0
7.8
EPSS
0.5%
probability of exploitation in 30 days · percentile 47
Auth required
Yes
Published
Aug 20, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119
Vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

Rust Programming Language Rust standard library version Commit bfa0e1f58acf1c28d500c34ed258f09ae021893e and later; stable release 1.3.0 and later contains a Buffer Overflow vulnerability in std::collections::vec_deque::VecDeque::reserve() function that can result in Arbitrary code execution, but no proof-of-concept exploit is currently published.. This vulnerability appears to have been fixed in after commit fdfafb510b1a38f727e920dccbeeb638d39a8e60; stable release 1.22.0 and later.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rust.

Affected products (CPE)

VendorProductVersions
rust-langrust≥ 1.3.0 < 1.22.0

Official sources

References

Links published by the sources. Open them with care.