rust-vmm linux-loader vulnerable to Out-of-bounds Read
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-23523
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 08:21 UTC · Revision 1
Source evidence
rust-vmm linux-loader vulnerable to Out-of-bounds Read
core-osv · Original sourcePublished 13 Dec 2022, 07:41 UTC
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.
osv:CVE-2022-23523
Complete source record
{
"id": "b9730faaf1e4d576b7ce8872751afc7598d78d4e833e98b38ccd760875632863",
"url": "https://osv.dev/vulnerability/CVE-2022-23523",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "rust-vmm linux-loader vulnerable to Out-of-bounds Read",
"summary": "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.",
"evidence": "osv:CVE-2022-23523",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2022-23523",
"aliases": [
"CVE-2022-23523",
"GHSA-52h2-m2cf-9jh6"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/rust-vmm/linux-loader",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "e1dccddca2f269f880c877e584d36ad7c5c0b4df"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.8.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:linux-loader_project:linux-loader:*:*:*:*:*:rust:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.8.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.8.0",
"v0.7.0",
"v0.6.0",
"v0.5.0",
"v0.4.0",
"show",
"v0.3.0",
"v0.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23523.json"
}
}
],
"modified": "2026-10-28T02:30:27.429366255Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23523.json",
"https://github.com/rust-vmm/linux-loader/security/advisories/GHSA-52h2-m2cf-9jh6",
"https://nvd.nist.gov/vuln/detail/CVE-2022-23523",
"https://github.com/rust-vmm/linux-loader/pull/125"
],
"provider_metadata": {
"cwe_ids": [
"CWE-119",
"CWE-125"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23523.json"
}
},
"related_cves": [
{
"value": "CVE-2022-23523",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 493760,
"published_at": "2022-12-13T07:41:47.047+00:00"
}