CVE-2023-50711
`serde` deserialization for `FamStructWrapper` lacks bound checks that could potentially lead to out-of-bounds memory access
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
5.7
`serde` deserialization for `FamStructWrapper` lacks bound checks that could potentially lead to out-of-bounds memory access
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.
- Record
CVE-2023-50711- CVSS 3.1
- 5.7 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L - Weakness
- CWE-787
- Updated
- 2026-11-02
EUVDEUVD-2024-0293
5.7
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.
- Record
EUVD-2024-0293- CVSS 3.1
- 5.7 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-875g-mfp6-g7f9
5.7
`serde` deserialization for `FamStructWrapper` lacks bound checks that could potentially lead to out-of-bounds memory access
Impact
An issue was discovered in the FamStructWrapper::deserialize implementation provided by the crate for vmm_sys_util::fam::FamStructWrapper, which 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.
Impacted versions: >= 0.5.0
Patches
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.
- Record
GHSA-875g-mfp6-g7f9- CVSS 3.1
- 5.7 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L - Weakness
- CWE-787
- Updated
- 2026-11-02
NVD
5.7
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.
- Record
CVE-2023-50711- CVSS 3.1
- 5.7 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVAZL-32311
9.8
CVE-2023-50711 affecting package cloud-hypervisor for versions less than 32.0-3
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.
- Record
AZL-32311- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
5.7
`serde` deserialization for `FamStructWrapper` lacks bound checks that could potentially lead to out-of-bounds memory access
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.
- Record
CVE-2023-50711- CVSS 3.1
- 5.7 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L - Weakness
- CWE-787
- Updated
- 2026-11-02
Show 11 moreShow less
OSVDEBIAN-CVE-2023-50711
9.8
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.
- Record
DEBIAN-CVE-2023-50711- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-875g-mfp6-g7f9
5.7
`serde` deserialization for `FamStructWrapper` lacks bound checks that could potentially lead to out-of-bounds memory access
Impact
An issue was discovered in the FamStructWrapper::deserialize implementation provided by the crate for vmm_sys_util::fam::FamStructWrapper, which 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.
Impacted versions: >= 0.5.0
Patches
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.
- Record
GHSA-875g-mfp6-g7f9- CVSS 3.1
- 5.7 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVRUSTSEC-2024-0002
5.7
`serde` deserialization for `FamStructWrapper` lacks bound checks that could potentially lead to out-of-bounds memory access
Impact
An issue was discovered in the FamStructWrapper::deserialize implementation
provided by the crate for vmm_sys_util::fam::FamStructWrapper, which 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.
Impacted versions: >= 0.5.0
Patches
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.
- Record
RUSTSEC-2024-0002- CVSS 3.1
- 5.7 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-50711
5.7
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.
- Record
UBUNTU-CVE-2023-50711- CVSS 3.1
- 5.7 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13624-1 No score
sevctl-0.4.3-2.1 on GA media
These are all security issues fixed in the sevctl-0.4.3-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13624-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13645-1 No score
virtiofsd-1.10.1-1.1 on GA media
These are all security issues fixed in the virtiofsd-1.10.1-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13645-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13857-1 No score
aws-nitro-enclaves-binaryblobs-upstream-1.2.3~git11.d3d77e0-1.1 on GA media
These are all security issues fixed in the aws-nitro-enclaves-binaryblobs-upstream-1.2.3~git11.d3d77e0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13857-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:0250-1 No score
Security update for sevctl
This update for sevctl fixes the following issues:
- CVE-2023-50711: Fixed out of bounds memory accesses in vmm-sys-util (bsc#1218502, bsc#1218499)
Non-security fixes:
- Updated to version 0.4.3 (jsc#PED-4981)
- Record
SUSE-SU-2024:0250-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:1966-1 No score
Security update for aws-nitro-enclaves-cli
This update for aws-nitro-enclaves-cli fixes the following issues:
- CVE-2023-50711: Fixed out of bounds memory accesses in embedded vmm-sys-util (bsc#1218501).
- Record
SUSE-SU-2024:1966-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:1984-1 No score
Security update for aws-nitro-enclaves-cli
This update for aws-nitro-enclaves-cli fixes the following issues:
- CVE-2023-50711: Fixed out of bounds memory accesses in embedded vmm-sys-util (bsc#1218501).
- Record
SUSE-SU-2024:1984-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:20071-1 No score
Security update for sevctl
This update for sevctl fixes the following issues:
Security issue fixed:
- CVE-2023-50711: Fixed out of bounds memory accesses in a vendored dependency (bsc#1218502)
Non-security issue fixed:
- Update vendored dependencies and re-enable cargo update obs service (bsc#1229953)
- Record
SUSE-SU-2025:20071-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
vmm-sys-utilcrates.io |
0.5.0 up to 0.12.0 | 0.12.0 |
cloud-hypervisorAzure Linux:2 |
before 32.0-3 | 32.0-3 |
rust-vmm-sys-utilDebian:13 |
before 0.12.1-1 | 0.12.1-1 |
rust-vmm-sys-utilDebian:14 |
before 0.12.1-1 | 0.12.1-1 |
sevctlSUSE:Linux Enterprise Module for Server Applications 15 SP5 |
before 0.4.3-150500.3.3.1 | 0.4.3-150500.3.3.1 |
sevctlopenSUSE:Leap 15.5 |
before 0.4.3-150500.3.3.1 | 0.4.3-150500.3.3.1 |
aws-nitro-enclaves-cliSUSE:Linux Enterprise Module for Public Cloud 15 SP6 |
before 1.3.0~git1.db34c02-150600.10.3.1 | 1.3.0~git1.db34c02-150600.10.3.1 |
aws-nitro-enclaves-cliopenSUSE:Leap 15.6 |
before 1.3.0~git1.db34c02-150600.10.3.1 | 1.3.0~git1.db34c02-150600.10.3.1 |
aws-nitro-enclaves-cliSUSE:Linux Enterprise Module for Public Cloud 15 SP4 |
before 1.3.0~git1.db34c02-150400.3.6.1 | 1.3.0~git1.db34c02-150400.3.6.1 |
aws-nitro-enclaves-cliSUSE:Linux Enterprise Module for Public Cloud 15 SP5 |
before 1.3.0~git1.db34c02-150400.3.6.1 | 1.3.0~git1.db34c02-150400.3.6.1 |
Show 8 moreShow less
| Package | Affected | Fixed |
|---|---|---|
aws-nitro-enclaves-cliopenSUSE:Leap 15.5 |
before 1.3.0~git1.db34c02-150400.3.6.1 | 1.3.0~git1.db34c02-150400.3.6.1 |
sevctlSUSE:Linux Micro 6.0 |
before 0.4.3-2.1 | 0.4.3-2.1 |
rust-vmm-sys-utilUbuntu:24.04:LTS |
All versions, plus listed versions 0.11.1-50.12.1-1 |
None known |
rust-vmm-sys-utilUbuntu:25.10 |
All versions, plus listed versions 0.12.1-2 |
None known |
rust-vmm-sys-utilUbuntu:26.10 |
All versions, plus listed versions 0.15.0-3 |
None known |
rust-vmm-sys-utilUbuntu:26.04:LTS |
All versions, plus listed versions 0.12.1-20.15.0-3 |
None known |
sevctlopenSUSE:Tumbleweed |
before 0.4.3-2.1 | 0.4.3-2.1 |
virtiofsdopenSUSE:Tumbleweed |
before 1.10.1-1.1 | 1.10.1-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-50711 is a medium vulnerability (CVSS 5.7) in Rust-vmm Vmm-sys-util, published January 2, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.65%, the 51st percentile. Fixed in vmm-sys-util 0.12.0.
References
github.com/rust-vmm/vmm-sys-util/security/advisories/GHSA-875g-mfp6-g7f9
github.com/rust-vmm/vmm-sys-util/commit/30172fca2a8e0a38667d934ee56682247e13f167
lists.fedoraproject.org/archives/list/[email protected]/message/W5XMCLV2P3ANS3XN4NXZTV4PUNTLWUNJ
lists.fedoraproject.org/archives/list/[email protected]/message/YJI7D273R6G5RUC246KTI2YY3AXZKZMD
nvd.nist.gov/vuln/detail/CVE-2023-50711
rustsec.org/advisories/RUSTSEC-2024-0002.html
Show 16 moreShow less
github.com/advisories/GHSA-875g-mfp6-g7f9
github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50711.json
security-tracker.debian.org/tracker/CVE-2023-50711
github.com/rust-vmm/vmm-sys-util
crates.io/crates/vmm-sys-util
suse.com/support/update/announcement/2024/suse-su-20240250-1
bugzilla.suse.com/1218499
bugzilla.suse.com/1218502
suse.com/security/cve/CVE-2023-50711
suse.com/support/update/announcement/2024/suse-su-20241966-1
bugzilla.suse.com/1218501
suse.com/support/update/announcement/2024/suse-su-20241984-1
suse.com/support/update/announcement/2025/suse-su-202520071-1
bugzilla.suse.com/1229953
ubuntu.com/security/CVE-2023-50711
cve.org/CVERecord?id=CVE-2023-50711