Home / rust-vmm / vm-memory / CVE-2023-41051
CVE-2023-41051: is it exploited, and which versions of rust-vmm vm-memory are affected and fixed?
CVE-2023-41051 is an out-of-bounds read vulnerability in rust-vmm vm-memory. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:39 UTC). Affected: vm-memory before 0.12.2 (GitHub advisory GHSA-49hh-fprx-m68g). Fixed in 0.12.2 (GitHub advisory GHSA-49hh-fprx-m68g). Severity: Low (2.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:39 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:36 UTC.
What is CVE-2023-41051?
Default functions in VolatileMemory trait lack bounds checks in vm-memory
In a typical Virtual Machine Monitor (VMM) there are several components, such as boot loader, virtual device drivers, virtio backend drivers and vhost drivers, that need to access the VM physical memory. The vm-memory rust crate provides a set of traits to decouple VM memory consumers from VM memory providers. An issue was discovered in the default implementations of the `VolatileMemory::{get_atomic_ref, aligned_as_ref, aligned_as_mut, get_ref, get_array_ref}` trait functions, which allows out-of-bounds memory access if the `VolatileMemory::get_slice` function returns a `VolatileSlice` whose length is less than the function’s `count` argument. No implementations of `get_slice` provided in `vm_memory` are affected. Users of custom `VolatileMemory` implementations may be impacted if the custom implementation does not adhere to `get_slice`'s documentation. The issue started in version 0.1.0 but was fixed in version 0.12.2 by inserting a check that verifies that the `VolatileSlice` returned by `get_slice` is of the correct length. Users are advised to upgrade. There are no known workarounds for this issue.
From the CVE record by GitHub_M, last updated February 13, 2025, 17:08 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| rust-vmm | vm-memory | >= 0.1.0, < 0.12.2 |
As the CVE record by GitHub_M states it, last updated February 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| crates.io | vm-memory | < 0.12.2 | 0.12.2 | GHSA-49hh-fprx-m68g |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 13, 2025. Summary: Default functions in VolatileMemory trait lack bounds checks, potentially leading to out-of-bounds memory accesses.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| vm-memory project | vm-memory | from 0.1.0 before 0.12.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:20 UTC.
How severe is CVE-2023-41051?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L | GitHub_M |
| Medium 4.7 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-41051 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, September 27, 2024)
- EPSS
- 0.26% probability of exploitation activity in the next 30 days, percentile 18.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-125 Out-of-bounds Read
Where are the vendor advisories and references?
- https://github.com/rust-vmm/vm-memory/security/advisories/GHSA-49hh-fprx-m68g x_refsource_CONFIRM
- https://github.com/rust-vmm/vm-memory/commit/aff1dd4a5259f7deba56692840f7a2d9ca34c9c8 x_refsource_MISC
- https://crates.io/crates/vm-memory/0.12.2 x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XZGJL6BQLU4XCPQLLTW4GSSBTNQXB3TI/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/IPXRXD5VXBZHBGMUM77B52CJJMG7EJGI/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/SYM6CYW2DWRHRAVL2HYTQPXC3J2V77J4/
When was it published, and where is the official record?
- Reserved
- August 22, 2023
- Published
- September 1, 2023, 18:22 UTC
- CVE record updated
- February 13, 2025, 17:08 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 06:20 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:36 UTC; KEV December 3, 2026, 19:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2023-41051
Is CVE-2023-41051 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:39 UTC. FIRST's EPSS gives it a 0.26% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of rust-vmm vm-memory are affected by CVE-2023-41051?
vm-memory before 0.12.2, per the GitHub advisory GHSA-49hh-fprx-m68g. The tables above give every range the sources list.
Which version fixes CVE-2023-41051?
0.12.2, per the GitHub advisory GHSA-49hh-fprx-m68g. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-41051?
Low (2.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-41051?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.