Description
A stack buffer overflow vulnerability in toybox 0.8.12. When readelf_main() processes a crafted ELF file, scan_elf() writes beyond the stack buffer via printf(), causing a stack-buffer-overflow.
Impact
- Denial-of-service via process crash
- Any user processing untrusted ELF files with toybox readelf is affected
Reproduction
All materials are available in my research repository:
https://github.com/eglonnnn/opensource-fuzz-vulnerability-research/tree/main/Stack%20buffer%20overflow%20in%20toybox%20readelf%20scan_elf
Description
A stack buffer overflow vulnerability in toybox 0.8.12. When
readelf_main()processes a crafted ELF file,scan_elf()writes beyond the stack buffer viaprintf(), causing a stack-buffer-overflow.Impact
Reproduction
All materials are available in my research repository:
https://github.com/eglonnnn/opensource-fuzz-vulnerability-research/tree/main/Stack%20buffer%20overflow%20in%20toybox%20readelf%20scan_elf