CVE-2022-23523
MEDIUM 5.5CVSS 3.1linux-loader reading beyond EOF could lead to infinite loop
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.
- Published
- 13 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-119CWE-125CWE-835
- Also known as
- GHSA-52h2-m2cf-9jh6
- Sources
- NVDJSONOSV GHSA-52h2-m2cf-9jh6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.0 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | LOW 1.9 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux-loader_project | linux-loadercpe:2.3:a:linux-loader_project:linux-loader:*:*:*:*:*:rust:*:* |
< 0.8.1 | 0.8.1 |
| OSV | crates.io | linux-loader | < 0.8.1 | 0.8.1 |
References
- https://github.com/rust-vmm/linux-loader/pull/125 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/rust-vmm/linux-loader/security/advisories/GHSA-52h2-m2cf-9jh6 · Issue Tracking, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-23523 · ADVISORY
- https://github.com/rust-vmm/linux-loader/commit/a44f152da4f38c538ed492b1efa8515be2047db2 · WEB
- https://github.com/rust-vmm/linux-loader · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 13 Dec 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Dec 2022)