CVE-2022-35922: Rust-WebSocket is a WebSocket (RFC6455) library written in Rust
CVE-2022-35922 is a high-severity flaw (CVSS 7.5) affecting rust-websocket, fedora. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Rust-WebSocket is a WebSocket (RFC6455) library written in Rust. In versions prior to 0.26.5 untrusted websocket connections can cause an out-of-memory (OOM) process abort in a client or a server. The root cause of the issue is during dataframe parsing. Affected versions would allocate a buffer based on the declared dataframe size, which may come from an untrusted source. When `Vec::with_capacity` fails to allocate, the default Rust allocator wil
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-35922?
rust-websocket: upgrade to 0.26.5; fedora: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-35922 being exploited?
CVE-2022-35922 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-35922 affect?
CVE-2022-35922 affects rust-websocket, fedora. Severity is high (CVSS 7.5). Rust-WebSocket is a WebSocket (RFC6455) library written in Rust. In versions prior to 0.26.5 untrusted websocket connections can cause an out-of-memory (OOM) process abort in a client or a server. The root cause of the issue is during dataf
How urgent is CVE-2022-35922?
Priority 51/100. High severity; Remotely exploitable, no login, no user action