# CVE-2020-35921: miow invalidly assumes the memory layout of std::net::SocketAddr

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/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.40%, higher than 35% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-11-13T12:00:00.000Z
- Modified: 2026-06-17T03:14:36.610Z
- Also known as: GHSA-jrcf-4jp8-m28v, RUSTSEC-2020-0080
- Weaknesses: CWE-188
- Assigned by: mitre

## Description

An issue was discovered in the miow crate before 0.3.6 for Rust. It has false expectations about the std::net::SocketAddr memory representation.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- miow (crates.io): from 0.3.0 before 0.3.6; from 0.0.0-0 before 0.2.2; from 0.3.0-0 before 0.3.6
- miow_project miow: before 0.2.2; from 0.3.0 before 0.3.6

## Every score

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

## References

- <https://rustsec.org/advisories/RUSTSEC-2020-0080.html> (exploit, advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-35921> (advisory)
- <https://github.com/yoshuawuyts/miow/issues/38> (report, web)
- <https://github.com/yoshuawuyts/miow/pull/39> (web)
- <https://github.com/yoshuawuyts/miow/pull/40> (web)
- <https://github.com/yoshuawuyts/miow> (package)
- <https://crates.io/crates/miow> (package)

## Sources

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

---

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