CVE-2022-23523
published medium CVSS 3.1 · 4.0rust-vmm linux-loader vulnerable to Out-of-bounds Read
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rust-vmm | — | linux-loader< 0.8.1 | Affected | Not stated | GitHub_M |
Description
In versions prior to 0.8.1, the linux-loader crate uses the offsets and sizes provided in the ELF headers to determine the offsets to read from. If those offsets point beyond the end of the file this could lead to Virtual Machine Monitors using the `linux-loader` crate entering an infinite loop if the ELF header of the kernel they are loading was modified in a malicious manner. This issue has been addressed in 0.8.1. The issue can be mitigated by ensuring that only trusted kernel images are loaded or by verifying that the headers do not point beyond the end of the file.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.0 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rust-vmm | linux-loader | < 0.8.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-125 CWE-125: Out-of-bounds Read
- CWE-119 CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
References
2Provider assertions
3GitHub_M · cna
rust-vmm linux-loader vulnerable to Out-of-bounds Read
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f30ce9f7842e5c9d257733a13bd07fcacb38bd7cc25359d288c373258530c6f6
- Ingested
- 23 Sep 2026, 07:58:41 UTC
- Source record
- Official CVE record