Security mailing lists by PureSourceCode

CVE-2022-23523

MEDIUM 5.5CVSS 3.1

linux-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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linux-loader_project linux-loader
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.