Snapshotting our way to CVE-2026-9539
CVE-2026-9539 is an out-of-bounds read in libslirp’s TCP code that leaks sensitive data from other connections via integer underflow in urgent pointer handling—the vulnerability remained undetected for years because it occurs within a ring-buffer allocator, bypassing ASAN’s detection. Quarkslab presents a LibAFL-Qemu based fuzzer using incremental snapshots to efficiently explore stateful protocols, enabling discovery of the vulnerability, and details two detection strategies: using UndefinedBehaviorSanitizer to catch the integer underflow, and manually poisoning ASAN shadow memory to track the internal allocator’s state. The snapshot-based approach addresses fundamental challenges in fuzzing state machines like TCP, reducing the havoc effect and complexity of multi-input fuzzing.