CVE-2018-25008 json
In the standard library in Rust before 1.29.0, there is weak synchronization in the Arc::get_mut method.
published 2021-04-14 5 y ago modified 2026-06-17 4 mo ago also EUVD-2018-13789
- cvss
- 5.9
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rust-lang rust 1.29.0
- rustc Debian 14, Debian 13, Debian 12 1.29.0+dfsg1-1
debian advisories DEBIAN-CVE-2018-25008
- github.com/rust-lang/rust#52031 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-25008 updated cvss 5.9
rust: weak synchronization in the Arc::get_mut method
-
Red Hat Enterprise Linux 8 rls, rust, cargo, clippy, rustfmt, rust-gdb, +8 more Red Hat Enterprise Linux 9 rust, cargo, clippy, rustfmt, rust-gdb, rust-src, +8 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.05% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
- Weakness
-
- CWE-662 Improper Synchronization
References
-
github.com
/rust-lang/rust/pull/52031
patch, third-party-advisory
-
github.com
/rust-lang/rust/issues/51780
third-party-advisory
Sources
- CVE List CVE-2018-25008
- NVD CVE-2018-25008
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.