Steer the Allocations
medium · 150 XP · flag · free · solves: 0
The heap started misbehaving the moment real pressure was applied. Alex steered the allocations deliberately until they carried him to the flag.
The program has a use-after-free vulnerability: allocates an obj struct, frees it, then allocates a buf of the same size (16 bytes), which may reuse the freed chunk.
Tags: Miscellaneous
Try next
- Repair the Pattern (easy)
- A Flag in the Notes (easy)
- The Seam Gives (easy)