Skip to main content
QUICK REVIEW

[Paper Review] Evaluating Fuzz Testing

George Klees, Andrew Ruef|arXiv (Cornell University)|Aug 29, 2018
Software Testing and Debugging TechniquesComputer Science40 references3 citations
TL;DR

This paper evaluates the experimental rigor of fuzz testing research, revealing widespread flaws in methodology across 32 recent papers. It demonstrates through extensive experiments that improper use of single runs, short timeouts, poor seed selection, and heuristic crash de-duplication leads to misleading conclusions about fuzzer performance, advocating for standardized, statistically sound evaluations using diverse benchmarks and ground-truth bug counts.

ABSTRACT

Fuzz testing has enjoyed great success at discovering security critical bugs in real software. Recently, researchers have devoted significant effort to devising new fuzzing techniques, strategies, and algorithms. Such new ideas are primarily evaluated experimentally so an important question is: What experimental setup is needed to produce trustworthy results? We surveyed the recent research literature and assessed the experimental evaluations carried out by 32 fuzzing papers. We found problems in every evaluation we considered. We then performed our own extensive experimental evaluation using an existing fuzzer. Our results showed that the general problems we found in existing experimental evaluations can indeed translate to actual wrong or misleading assessments. We conclude with some guidelines that we hope will help improve experimental evaluations of fuzz testing algorithms, making reported results more robust.

Motivation & Objective

  • To assess the quality and reliability of experimental evaluations in recent fuzz testing research.
  • To identify common methodological flaws in how new fuzzing algorithms are evaluated, such as single runs, short timeouts, and heuristic crash de-duplication.
  • To demonstrate through empirical experiments that flawed evaluation practices can lead to incorrect or misleading conclusions about fuzzer superiority.
  • To propose a set of best practices for evaluating fuzzing algorithms, including multiple trials, statistical testing, diverse seeds, long timeouts, and ground-truth bug measurement.
  • To advocate for the creation of standardized, well-designed benchmark suites with known bugs to enable fair and reproducible comparisons across fuzzing tools.

Proposed method

  • Conducted over 50,000 CPU hours of experiments comparing AFL and AFLFast on five real-world programs (nm, objdump, cxxfilt, gif2png, FFmpeg).
  • Performed multiple independent runs (up to 30) per configuration to capture the stochastic nature of fuzzing and applied statistical tests to assess significance.
  • Varied key experimental parameters: timeout (from 6 to 24 hours), seed inputs (empty and non-empty), and measured outcomes using both crash counts and coverage metrics.
  • Used ground-truth bug counts from known vulnerable versions of programs as the primary performance metric, avoiding reliance on AFL’s coverage or stack hash heuristics.
  • Evaluated the impact of crash de-duplication heuristics by comparing their results against actual distinct bugs found.
  • Analyzed performance trends over time to assess the effect of short timeouts on evaluation validity.

Experimental results

Research questions

  • RQ1To what extent do current experimental evaluations of fuzzing algorithms suffer from methodological flaws?
  • RQ2How do variations in seed selection, timeout duration, and run-to-run randomness affect the reliability of performance comparisons between fuzzers?
  • RQ3How accurate are heuristic crash de-duplication methods (e.g., AFL’s coverage or stack hash) in measuring true bug discovery, and do they distort performance assessments?
  • RQ4Can the same fuzzer (AFLFast) appear superior in original evaluations but not in more rigorous, extended experiments with diverse seeds and longer timeouts?
  • RQ5What are the key components of a trustworthy, reproducible, and statistically sound evaluation framework for fuzzing algorithms?

Key findings

  • Nearly 3/5 of the 32 surveyed papers relied on single runs, which failed to capture the high variance in fuzzing results, leading to potentially misleading conclusions.
  • Statistical testing revealed that apparent performance differences between AFL and AFLFast were not always significant, even when reported as such in original papers.
  • Performance varied dramatically based on seed choice: with one non-empty seed, AFLFast found only 24 crashes in nm, statistically indistinguishable from AFL’s 23, despite being claimed superior in original evaluation.
  • Short timeouts (e.g., 6 hours) often failed to capture long-term performance trends; for example, AFL outperformed AFLFast at 6 hours on nm but reversed after 24 hours.
  • Heuristic crash de-duplication methods, such as AFL’s coverage profile, overcounted bugs and sometimes suppressed true distinct crashes, invalidating performance claims based on such metrics.
  • When evaluated with rigorous standards—multiple runs, long timeouts, diverse seeds, and ground-truth bug counts—AFLFast’s superiority over AFL was significantly weakened or disappeared on some benchmarks, suggesting original claims were overstated.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.