Code execution via global readelf overflow
Published Sep 27, 2022 · Updated May 21, 2025
Out-of-bounds write in ToaruOS 2.0.1 allows local users to execute arbitrary code through readelf when opening a crafted ELF file. The readelf parser writes beyond a global buffer while processing attacker-controlled ELF data, corrupting memory and enabling code execution. Exploitation requires a local user to cause the vulnerable readelf utility to process the crafted file; the published impact includes confidentiality, integrity, and availability compromise.
Summary
What happened
Out-of-bounds write in ToaruOS 2.0.1 allows local users to execute arbitrary code through readelf when opening a crafted ELF file. The readelf parser writes beyond a global buffer while processing attacker-controlled ELF data, corrupting memory and enabling code execution. Exploitation requires a local user to cause the vulnerable readelf utility to process the crafted file; the published impact includes confidentiality, integrity, and availability compromise.
The record
- CVE
- CVE-2022-38932
- Published
- Sep 27, 2022
- Updated
- May 21, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-787, T1203
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 27, 2022CVE publishedPublication date reported by the CVE source.
- May 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo