
CVE catalog
CVE-2020-35920
rust-socket2: CVE-2020-35920
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.41% · Oct 25, 2026
An issue was discovered in the socket2 crate before 0.3.16 for Rust. It has false expectations about the std::net::SocketAddr memory representation.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rust-socket2 | sid | 0.6.5-1 | fixed |
| Debian | rust-socket2 | forky | 0.6.5-1 | fixed |
| Debian | rust-socket2 | trixie | 0.5.8-1 | fixed |
| Debian | rust-socket2 | bookworm | 0.4.4-1 | fixed |
| Ubuntu | rust-socket2 | 20.04 | 0.3.11-1 | vulnerable |
| Ubuntu | rust-socket2 | 22.04 | 0.3.19-2 | vulnerable |
| Ubuntu | rust-socket2 | 22.04 | 0.4.2-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rust-socket2 | source | sid | 0.3.19-1 | not yet assigned | Not reported | Not reported |
| Debian | rust-socket2 | source | forky | 0.3.19-1 | not yet assigned | Not reported | Not reported |
| Debian | rust-socket2 | source | trixie | 0.3.19-1 | not yet assigned | Not reported | Not reported |
| Debian | rust-socket2 | source | bookworm | 0.3.19-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [librust-socket2-dev]Fixed
Source package: [rust-socket2]
Details (2)
0.4.4-1· amd64 · bookwormFixed · Fixed:
0.3.19-1dsa · rust-socket2 · debian · bookworm; dsa · rust-socket2 · debian · 12
0.4.4-1· arm64 · bookwormFixed · Fixed:
0.3.19-1dsa · rust-socket2 · debian · bookworm; dsa · rust-socket2 · debian · 12
[Debian 13 (Trixie)]
- [librust-socket2-dev]Fixed
Source package: [rust-socket2]
Details (2)
0.5.8-1· amd64 · trixieFixed · Fixed:
0.3.19-1dsa · rust-socket2 · debian · 13
0.5.8-1· arm64 · trixieFixed · Fixed:
0.3.19-1dsa · rust-socket2 · debian · 13
Observed: