CVE-2018-1000657
published 2018-08-20CVE-2018-1000657: Rust Programming Language Rust standard library version Commit bfa0e1f58acf1c28d500c34ed258f09ae021893e and later; stable release 1.3.0 and later contains a…
PriorityP337high7.8CVSS 3.0
AVLACLPRLUINSUCHIHAH
EPSS
0.54%
41.8th percentile
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.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | rustc | < rustc 1.22.1+dfsg1-1 (bookworm) | rustc 1.22.1+dfsg1-1 (bookworm) |
| rust-lang | rust | >= 1.3.0 < 1.22.0 | 1.22.0 |
CVSS provenance
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.04.6MEDIUMAV:L/AC:L/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
rust: Buffer Overflow vulnerability in std::collections::vec_deque::VecDeque::reserve() function
vendor_redhat·2018-08-24·CVSS 7.8
CVE-2018-1000657 [HIGH] CWE-119 rust: Buffer Overflow vulnerability in std::collections::vec_deque::VecDeque::reserve() function
rust: Buffer Overflow vulnerability in std::collections::vec_deque::VecDeque::reserve() function
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.
Package: rust-toolset (Red Hat Enterprise Linux 8) - Not affected
Debian
CVE-2018-1000657: rustc - Rust Programming Language Rust standard library version Commit bfa0e1f58acf1c28d...
vendor_debian·2018·CVSS 7.8
CVE-2018-1000657 [HIGH] CVE-2018-1000657: rustc - Rust Programming Language Rust standard library version Commit bfa0e1f58acf1c28d...
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.
Scope: local
bookworm: resolved (fixed in 1.22.1+dfsg1-1)
bullseye: resolved (fixed in 1.22.1+dfsg1-1)
forky: resolved (fixed in 1.22.1+dfsg1-1)
sid: resolved (fixed in 1.22.1+dfsg1-1)
trixie: resolved (fixed in 1.22.1+dfsg1-1)
GHSA
GHSA-7877-m5c6-fgmx: Rust Programming Language Rust standard library version Commit bfa0e1f58acf1c28d500c34ed258f09ae021893e and later; stable release 1
ghsa_unreviewed·2022-05-14
CVE-2018-1000657 [HIGH] CWE-119 GHSA-7877-m5c6-fgmx: Rust Programming Language Rust standard library version Commit bfa0e1f58acf1c28d500c34ed258f09ae021893e and later; stable release 1
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.
OSV
CVE-2018-1000657: Rust Programming Language Rust standard library version Commit bfa0e1f58acf1c28d500c34ed258f09ae021893e and later; stable release 1
osv·2018-08-20·CVSS 7.8
CVE-2018-1000657 [HIGH] CVE-2018-1000657: Rust Programming Language Rust standard library version Commit bfa0e1f58acf1c28d500c34ed258f09ae021893e and later; stable release 1
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.
No detection rules found.
No public exploits indexed.
arXiv
HALURust: Exploiting Hallucinations of Large Language Models to Detect Vulnerabilities in Rust
arxiv_fulltext·2025-03-13
HALURust: Exploiting Hallucinations of Large Language Models to Detect Vulnerabilities in Rust
HALURust: Exploiting Hallucinations of Large Language Models to Detect Vulnerabilities in Rust
Yu Luo
University of Central Missouri
Warrensburg, MO, USA
[email protected]
Han Zhou
University of Missouri-Kansas City
Kansas City, MO, USA
[email protected]
Mengtao Zhang
University of Missouri-Kansas City
Kansas City, MO, USA
[email protected]
Dylan De La Rosa
Texas A&M University
College Station, TX, USA
[email protected]
Hafsa Ahmed
University of Missouri-Kansas City
Kansas City, MO, USA
[email protected]
Weifeng Xu
The University of Baltimore
Baltimore, MD, USA
[email protected]
Dianxiang Xu
University of Missouri-Kansas City
Kansas City, MO, USA
[email protected]
## Abstract
As an emerging programming language, Rust has rapidly gained popularity and recognition
Bugzilla
CVE-2018-1000657 rust: Buffer Overflow vulnerability in std::collections::vec_deque::VecDeque::reserve() function
bugzilla·2018-08-24·CVSS 7.8
CVE-2018-1000657 [HIGH] CVE-2018-1000657 rust: Buffer Overflow vulnerability in std::collections::vec_deque::VecDeque::reserve() function
CVE-2018-1000657 rust: Buffer Overflow vulnerability in std::collections::vec_deque::VecDeque::reserve() function
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.
Upstream bug:
https://github.com/rust-lang/rust/issues/44800
Upstream patch:
https://github.com/rust-lang/rust/commit/f71b37bc28326e272a37b938e835d4f99113eec2
Introducing commit:
https://githu
http://www.securityfocus.com/bid/105188https://github.com/rust-lang/rust/commit/f71b37bc28326e272a37b938e835d4f99113eec2https://github.com/rust-lang/rust/issues/44800http://www.securityfocus.com/bid/105188https://github.com/rust-lang/rust/commit/f71b37bc28326e272a37b938e835d4f99113eec2https://github.com/rust-lang/rust/issues/44800
2018-08-20
Published