# CVE-2023-50711: rust-vmm-sys-util: vmm-sys-util is a collection of modules that provides helpers and utilities used by multiple rust-vmm components

CVE-2023-50711 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2023-50711, released January 2, 2024. It is not reported as exploited. Patch Radar priority: Urgent.

- Web page: https://patchblox.com/security/cve/CVE-2023-50711
- Priority: Urgent
- CVSS: 9.8 (critical)
- EPSS: 0.0065
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 2, 2024

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | aws-nitro-enclaves-cli opensuse-leap 15.6 | 1.3.0~git1.db34c02-150600.10.3.1 | [SUSE-SU-2024:1966-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-1966-1.md) | Jun 10, 2024 |
| Linux | aws-nitro-enclaves-cli sles 15.6 | 1.3.0~git1.db34c02-150600.10.3.1 | [SUSE-SU-2024:1966-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-1966-1.md) | Jun 10, 2024 |
| Linux | rust-vmm-sys-util Debian 13.5 (trixie) | 0.12.1-1 | [DEBIAN-CVE-2023-50711](https://patchblox.com/security/data/fix/linux/debian-cve-2023-50711.md) | Jan 2, 2024 |
| Linux | rust-vmm-sys-util Debian 14 | 0.12.1-1 | [DEBIAN-CVE-2023-50711](https://patchblox.com/security/data/fix/linux/debian-cve-2023-50711.md) | Jan 2, 2024 |

---

Data as of 2026-11-11T13:47:35Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
