arXiv:2609.06773cs.CRSep 2026

Manuscript Offprint

arXiv:2609.06773

Robustness-Aware Evaluation and Enhancement of Mutation-Based Fuzzing for Bug Discovery

Zirui Liu, Mengfan Xu, Juan Zhai, Shiqing Ma, Barry Nelson

Abstract

Fuzzing is a powerful technique for discovering software vulnerabilities, and mutation-based fuzzing dominates in practice. Yet rigorous evaluation remains hard because the process is inherently random, and that randomness also limits bug detection. Prior work documents this variability empirically, but the community lacks a principled theoretical account of it with computable convergence and sample-complexity guarantees, even though it is central to fuzzer reliability.

We address both needs. First, we evaluate robustness by running the same fuzzer in independent campaigns and measuring how much its bug-trigger rate varies across runs after accounting for computational effort. We show that robustness estimated from MM campaigns of length TT has finite-trial error that decreases at the standard M−1/2M^{-1/2} rate, while the error from finite campaign length is bounded when bug correlations decay over time. We then introduce splitting, a black-box wrapper that copies a fuzzer's queue state after a bug trigger and continues from that state in multiple branches, directing more effort toward the discovered region. For any realized split tree, branching cannot reduce the raw number of bug-triggering events relative to a single continuation path. The expected detection rate also increases when states receiving more branches tend to produce more bugs later. In a simplified setting, we further show that splitting reduces variance per unit compute when p<2−1p < \sqrt{2}-1, where pp is the fraction of time spent in the bug region. At matched compute, splitting finds more real bugs per CPU-hour than the baseline in 38 of 40 Magma ground-truth cells (median +52%, 34 of 38 individually significant) and never finds fewer distinct bugs. It converts CVE-2019-19926 from undetected (0/20 trials) to reliably detected (20/20; Fisher p<10−4p < 10^{-4}), with six additional detection improvements, five involving CVEs. On FuzzBench, splitting finds more unique bugs in 53 of 70 pairs and reduces variation across campaigns in 66 of 70, with a median reduction of approximately 10×10\times. Every split branch is counted toward the compute budget. With approximately 0.14% overhead, splitting provides a practical way to both measure and improve fuzzers.

1 Introduction

Fuzzing, iteratively generating inputs and feeding them to a program to trigger bugs, is among the most effective techniques for discovering software vulnerabilities [15,17,31]. Yet fuzzing is inherently stochastic: when we evaluated AFL++ on poppler across 20 independent 23-hour campaigns, the number of unique bug signatures per trial ranged from 1 to 13, a 13-fold difference. This variability is not an anomaly; it is the norm across fuzzers and benchmarks [15,20,31]. It raises a fundamental question: which result should a practitioner trust, and how many trials are enough?

Despite extensive work on fuzzer evaluation [15, 17, 31], the community lacks a principled answer. Effectiveness is measured by bug counts or code coverage and stability by confidence intervals or ad-hoc variance estimates, none of them guaranteed to capture the true stochastic variation of the fuzzing process [31]; and coverage, the most common proxy, does not reliably correlate with bug-finding ability [31]. A rigorous, bug-centric framework for quantifying fuzzer robustness remains an open problem.

Variability in fuzzing plays a dual role. It undermines reliability: practitioners must run many expensive trials to draw sound conclusions. But it also reflects how a fuzzer traverses the input space, jumping between regions under stochastic mutation. When bugs are clustered, a fuzzer that stays in a bug-rich region finds more bugs; one that drifts away wastes effort. So controlling variability, not merely measuring it, can directly improve bug-finding. Yet no principled tools for this exist.

This paper addresses both. We model fuzzing as a Markov chain over the input space to capture stochasticity and define robustness as the effort-normalized variance of the bug-detection rate. Inspired by rare-event simulation for stochastic systems, we then introduce splitting to enhance fuzzers: when a trial discovers a bug, we carefully fork the trajectory into independent descendant chains. This black-box plug-in exploits bug-rich regions, reducing variability while concentrating effort according to how bugs cluster, thereby illuminating the dual role of variability.

References (31)