CVE-2023-50711
`serde` deserialization for `FamStructWrapper` lacks bound checks that could potentially lead to out-of-bounds memory access
Also known as GHSA-875g-mfp6-g7f9, RUSTSEC-2024-0002
Mitigation
- Upgrade vmm-sys-util to 0.12.0 or later.
Who should check
- Projects that depend on crates.io package vmm-sys-util (>= 0.5.0, < 0.12.0)
- Anyone running rust-vmm vmm-sys-util >= 0.5.0, < 0.12.0
Vulnerability facts
- Affected
- vmm-sys-util >= 0.5.0, < 0.12.0
- Fixed in
- 0.12.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.7 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: Low
- EPSS
- 0.80% chance of exploitation in 30 days (percentile 54, 2026-11-26)
- CWE
- CWE-787
- Modified
Description
vmm-sys-util is a collection of modules that provides helpers and utilities used by multiple rust-vmm components. Starting in version 0.5.0 and prior to version 0.12.0, an issue in the `FamStructWrapper::deserialize` implementation provided by the crate for `vmm_sys_util::fam::FamStructWrapper` can lead to out of bounds memory accesses. The deserialization does not check that the length stored in the header matches the flexible array length. Mismatch in the lengths might allow out of bounds memory access through Rust-safe methods. The issue was corrected in version 0.12.0 by inserting a check that verifies the lengths of compared flexible arrays are equal for any deserialized header and aborting deserialization otherwise. Moreover, the API was changed so that header length can only be modified through Rust-unsafe code. This ensures that users cannot trigger out-of-bounds memory access from Rust-safe code.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| crates.io vmm-sys-util | >= 0.5.0, < 0.12.0 | 0.12.0 | osv |
| rust-vmm vmm-sys-util | >= 0.5.0, < 0.12.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-50711. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-50711.md Affected: vmm-sys-util >= 0.5.0, < 0.12.0 Fixed in: 0.12.0 Steps: 1. Search this machine and project for vmm-sys-util (crates.io), rust-vmm vmm-sys-util: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W5XMCLV2P3ANS3XN4NXZTV4PUNTLWUNJ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YJI7D273R6G5RUC246KTI2YY3AXZKZMD/
- https://github.com/rust-vmm/vmm-sys-util
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W5XMCLV2P3ANS3XN4NXZTV4PUNTLWUNJ
- https://crates.io/crates/vmm-sys-util
FAQ
Is CVE-2023-50711 being exploited?
There is no confirmed exploitation: CVE-2023-50711 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.80% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-50711?
Medium: CVSS 5.7 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-50711?
vmm-sys-util >= 0.5.0, < 0.12.0.
Is there a fix for CVE-2023-50711?
Yes. Fixed in 0.12.0. Upgrade vmm-sys-util to 0.12.0 or later.
How do I check if I'm affected by CVE-2023-50711?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.