Every CVE Search/ Get API key

CVE-2023-50711

`serde` deserialization for `FamStructWrapper` lacks bound checks that could potentially lead to out-of-bounds memory access

5.7 MediumFix available

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

0.65%Up 0.6 points since Jan 10, 2024
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L
CVSS 3.1
9.8 CriticalCVSS: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 CriticalCVSS: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 MediumCVSS: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 CriticalCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L
CVSS 3.1
9.8 CriticalCVSS: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

Affected packages
PackageAffectedFixed
vmm-sys-util
crates.io
0.5.0 up to 0.12.0
0.12.0
cloud-hypervisor
Azure Linux:2
before 32.0-3
32.0-3
rust-vmm-sys-util
Debian:13
before 0.12.1-1
0.12.1-1
rust-vmm-sys-util
Debian:14
before 0.12.1-1
0.12.1-1
sevctl
SUSE:Linux Enterprise Module for Server Applications 15 SP5
before 0.4.3-150500.3.3.1
0.4.3-150500.3.3.1
sevctl
openSUSE:Leap 15.5
before 0.4.3-150500.3.3.1
0.4.3-150500.3.3.1
aws-nitro-enclaves-cli
SUSE: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-cli
openSUSE: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-cli
SUSE: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-cli
SUSE: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
Affected packages
PackageAffectedFixed
aws-nitro-enclaves-cli
openSUSE:Leap 15.5
before 1.3.0~git1.db34c02-150400.3.6.1
1.3.0~git1.db34c02-150400.3.6.1
sevctl
SUSE:Linux Micro 6.0
before 0.4.3-2.1
0.4.3-2.1
rust-vmm-sys-util
Ubuntu:24.04:LTS
All versions, plus listed versions
0.11.1-50.12.1-1
None known
rust-vmm-sys-util
Ubuntu:25.10
All versions, plus listed versions
0.12.1-2
None known
rust-vmm-sys-util
Ubuntu:26.10
All versions, plus listed versions
0.15.0-3
None known
rust-vmm-sys-util
Ubuntu:26.04:LTS
All versions, plus listed versions
0.12.1-20.15.0-3
None known
sevctl
openSUSE:Tumbleweed
before 0.4.3-2.1
0.4.3-2.1
virtiofsd
openSUSE:Tumbleweed
before 1.10.1-1.1
1.10.1-1.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

Show 16 moreShow less
MoveEnter Open