What’s Vulnerable › Vulnerabilities
CVE-2018-25008
- Severity: medium (CVSS 5.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-04-14 · updated 2026-06-17
- Weakness: CWE-662
Description
In the standard library in Rust before 1.29.0, there is weak synchronization in the Arc::get_mut method. This synchronization issue can be lead to memory safety issues through race conditions.
Affected products
- rust-lang rust: before 1.29.0 — fixed in 1.29.0
How to fix
Upgrade to a fixed version: rust-lang rust 1.29.0. Check the vendor advisory for mitigations.
References
- https://github.com/rust-lang/rust/issues/51780
- https://github.com/rust-lang/rust/pull/52031
- https://github.com/rust-lang/rust/issues/51780
- https://github.com/rust-lang/rust/pull/52031
Get alerted when CVE-2018-25008 or the next vulnerability affects your stack