# CVE-2020-35905: MutexGuard::map can cause a data race in safe code

- Severity: Medium 4.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-10-22T12:00:00.000Z
- Modified: 2026-06-17T03:14:34.617Z
- Also known as: GHSA-rh4w-94hh-9943, RUSTSEC-2020-0059
- Weaknesses: CWE-362
- Assigned by: mitre

## Description

An issue was discovered in the futures-util crate before 0.3.7 for Rust. MutexGuard::map can cause a data race for certain closure situations (in safe code).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- futures-util (crates.io): from 0.3.2 before 0.3.7
- rust-lang future-utils: before 0.3.7

## Every score

- GitHub: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- RustSec Advisory Database: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 1.9 Low `AV:L/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://rustsec.org/advisories/RUSTSEC-2020-0059.html> (exploit, advisory, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-35905> (advisory)
- <https://github.com/rust-lang/futures-rs/issues/2239> (report, web)
- <https://github.com/rust-lang/futures-rs> (package)
- <https://crates.io/crates/futures-util> (package)

## Sources

- CVE List: [CVE-2020-35905](https://www.cve.org/CVERecord?id=CVE-2020-35905), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-rh4w-94hh-9943](https://github.com/advisories/GHSA-rh4w-94hh-9943), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2020-0059](https://rustsec.org/advisories/RUSTSEC-2020-0059.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2020-35905](https://nvd.nist.gov/vuln/detail/CVE-2020-35905), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-35905 · Whole record: https://cve.day/CVE-2020-35905.json · Rebuilt by cve.day 2026-11-25T22:57:56.642Z
