# CVE-2022-23523: rust-vmm linux-loader vulnerable to Out-of-bounds Read

- Severity: Medium 4.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2022-12-12T22:35:41.000Z
- Modified: 2026-06-17T04:30:17.673Z
- Also known as: GHSA-52h2-m2cf-9jh6
- Weaknesses: CWE-119, CWE-125, CWE-835
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- rust-vmm linux-loader: < 0.8.1
- linux-loader (crates.io): before 0.8.1
- linux-loader_project linux-loader: before 0.8.1

## Every score

- GitHub_M: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 1.9 Low `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/rust-vmm/linux-loader/security/advisories/GHSA-52h2-m2cf-9jh6> (issue-tracking, third-party-advisory, web)
- <https://github.com/rust-vmm/linux-loader/pull/125> (issue-tracking, patch, 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)

## Sources

- CVE List: [CVE-2022-23523](https://www.cve.org/CVERecord?id=CVE-2022-23523), CVE Terms of Use, modified 2025-04-18
- GitHub Advisory Database: [GHSA-52h2-m2cf-9jh6](https://github.com/advisories/GHSA-52h2-m2cf-9jh6), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-23523](https://nvd.nist.gov/vuln/detail/CVE-2022-23523), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-23523 · Whole record: https://cve.day/CVE-2022-23523.json · Rebuilt by cve.day 2026-11-25T22:58:17.408Z
