# CVE-2023-50711: \`serde\` deserialization for \`FamStructWrapper\` lacks bound checks that could potentially lead to out-of-bounds memory access

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.7
- **CVSS:** 5.7 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.80% (percentile 54, 2026-11-26)
- **CWE:** CWE-787
- **Aliases:** GHSA-875g-mfp6-g7f9, RUSTSEC-2024-0002
- **Published:** 2024-01-02T12:00:00.000Z
- **Modified:** 2026-10-12T18:00:06.810Z

## 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

## 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

- crates.io `vmm-sys-util`: affected \>= 0.5.0, \< 0.12.0; fixed 0.12.0 (osv)
- rust-vmm vmm-sys-util: \>= 0.5.0, \< 0.12.0 (cvelist)

## Mitigation

- Upgrade vmm-sys-util to 0.12.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/rust-vmm/vmm-sys-util/security/advisories/GHSA-875g-mfp6-g7f9>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-50711>
- vendor: <https://rustsec.org/advisories/RUSTSEC-2024-0002.html>
- patch: <https://github.com/rust-vmm/vmm-sys-util/commit/30172fca2a8e0a38667d934ee56682247e13f167>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W5XMCLV2P3ANS3XN4NXZTV4PUNTLWUNJ/>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YJI7D273R6G5RUC246KTI2YY3AXZKZMD/>
- other: <https://github.com/rust-vmm/vmm-sys-util>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W5XMCLV2P3ANS3XN4NXZTV4PUNTLWUNJ>
- other: <https://crates.io/crates/vmm-sys-util>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-50711>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-875g-mfp6-g7f9> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/RUSTSEC-2024-0002> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-50711> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-50711>
