Skip to content

Crash on malformed ELF file #120

@Shnatsel

Description

@Shnatsel

Attempting to decode any of the attached files with goblin::elf::Elf::parse crashes the process. Memory allocator runs out of virtual memory and the process is aborted.

goblin-elf-oom-crashes.zip

Found via AFL.rs. Fuzzing harness: https://github.com/Shnatsel/goblin/blob/master/fuzz-afl/src/main.rs

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood issue for beginner/new to goblin

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions