Fuzzing
Fuzzing is automated testing that runs a program on large numbers of generated inputs and watches for failures, most often crashes. It began in 1988 as a student assignment that tested Unix utilities, and it now runs continuously on about 1,000 open-source projects (Miller, n.d.; Miller et al., 1990; Google, n.d.f). Modern fuzzers differ in how much information about each run they use, and one survey groups them as black-box, greybox and whitebox (Manès et al., 2019). Researchers dispute how much each refinement adds, and reviews found widespread methodological problems in published evaluations of fuzzers (Klees et al., 2018; Schloegel et al., 2024).
Kinds of fuzzers
The split by how much a fuzzer observes is the standard classification, though its terms vary. One survey groups them into black-box, greybox and whitebox fuzzers according to the amount of execution information each run reports back (Manès et al., 2019). A survey of fuzzers for stateful systems, programs whose response depends on earlier messages, calls this division fairly standard but notes that terminology varies between papers (Daniele et al., 2024).
Greybox fuzzing uses coverage to steer input generation. Coverage is a record of which parts of the code a run executed. A greybox fuzzer changes, or mutates, inputs and uses coverage to guide those changes (Zeller et al., 2024). Fuzzers also differ in where inputs come from: mutation-based fuzzers alter existing sample inputs, while generation-based fuzzers build inputs from a description of the input format.
The word “mutation” has a second, unrelated meaning in testing. Mutation analysis changes the program’s code, not its input. It adds artificial faults and checks whether a test suite notices them (Zeller et al., 2024). It measures the strength of tests, and is covered with other generated tests in Automated test generation.
Origins
Fuzzing began as a reliability study of everyday command-line tools. Barton Miller dates the original graduate course assignment to the fall of 1988 (Miller, n.d.). The resulting 1990 paper was a systematic test of utility programs across versions of Unix, and it cited earlier random testing of hardware such as multiprocessor cache coherence protocols (Miller et al., 1990).
The same kind of random testing still finds failures decades later. In a 2020 follow-up from the same lab, 12% of the utilities tested failed on Linux, 16% on macOS and 19% on FreeBSD (Miller et al., 2020).
Symbolic execution, the basis of whitebox fuzzing, has a separate history. James King described EFFIGY, a system that applied symbolic execution to testing and debugging, in 1976, and cited an earlier system, SELECT, presented in 1975 (King, 1976).
How coverage feedback helps
The benefit of coverage feedback depends on the setting, and few studies have measured it. On one proprietary system, the benefit depended substantially on whether a starting set of sample inputs (a seed corpus) existed, on the parser type, and on code size (Jang et al., 2024b). The same idea outside software, in fuzzing hardware circuit designs, gave improvements over random testing, most of all for circuits that report whether an input was valid (Laeufer et al., 2018).
No single way of measuring coverage is best. In an evaluation on 221 binary programs, no coverage metric dominated all others at exploring branches (Wang et al., 2019a).
Structured inputs
Studies disagree on whether fuzzers that understand an input’s structure beat byte-level mutation. Byte-level fuzzers mutate the raw bytes of an input. Structure-aware fuzzers mutate a parsed form of the input, such as a syntax tree.
The studies measure different things. On five Java programs, Zest, a structure-aware fuzzer, covered 1.03 to 2.81 times as many branches in the semantic-analysis stage as baseline techniques (Padhye et al., 2019). In a case study of three XML parsers, byte-level mutation found more crashes than mutation of the XML tree (Şentürk et al., 2025). The first counts code reached past the parser; the second counts crashes.
Structure may also allow smaller test inputs. Bonsai fuzzing produced inputs 16 to 45% smaller on average than a fuzz-then-reduce approach, with approximately the same code coverage and fault detection (Vikram et al., 2021).
Symbolic execution and hybrid fuzzing
Symbolic execution reasons about many inputs at once, but the evidence that adding it to a fuzzer helps is thin. It runs a program on symbols that stand for any input, instead of concrete values. Its main obstacle is path explosion: the number of paths to examine grows with the number of branches (Baldoni et al., 2016). Cadar and Sen attribute its growing practicality to advances in constraint solvers and to concolic methods, which combine concrete and symbolic execution (Cadar & Sen, 2013).
Whitebox fuzzing has run at industrial scale. Microsoft researchers reported over 400 machine years of whitebox fuzzing from 2007 to 2012, across hundreds of large Windows applications and several product releases (Bounimova et al., 2012).
Hybrid fuzzers pair a greybox fuzzer with concolic execution, but their gains look small. On a shared benchmark suite, the hybrid fuzzers tested had only a limited advantage overall over conventional coverage-guided fuzzers (Jiang et al., 2023a). In an earlier counterexample, on one dataset a fuzzing-only approach crashed at least as many binaries as a hybrid comparison, while using fewer computing resources (Wang et al., 2019a).
Deciding that a run failed
A fuzzer finds only the failures it can recognise. A test oracle is the procedure that tells correct from incorrect behaviour of the program under test (Barr et al., 2015).
When fuzzers were scored on noticing deliberate faults rather than on crashing, they detected only a small share. One evaluation planted many artificial changes in programs and found that current fuzzers could detect only a small percentage of them (Görz et al., 2023).
Running code is not the same as checking it: generated tests often execute faulty code without exposing the fault (Shamshiri et al., 2015). That result, and stronger oracles such as properties and comparisons between implementations, are covered in Automated test generation.
How trustworthy fuzzer evaluations are Strong evidence: many studies agree on this
Published claims that one fuzzer beats another often rest on flawed experiments. A 2018 review of 32 fuzzing papers found problems in every evaluation it considered (Klees et al., 2018). A later review of 150 papers from 2018 to 2023 found a widespread disregard of guidelines on statistical tests and systematic errors (Schloegel et al., 2024).
Fuzzer rankings depend on the programs and starting inputs chosen. Among eight fuzzers compared on one platform, none outperformed the others on every target program (Li et al., 2021d). On a benchmark of synthetic bugs, no fuzzer beat all others on all tests (Bundt et al., 2021). Where the seed corpus came from had a substantial effect on benchmark outcomes (Wolff et al., 2022).
Benchmarks also differ in what they count as success. FuzzBench can score fuzzers on code coverage or on bugs found (Metzman et al., 2021). Magma separates whether a run reached, triggered or detected each known bug (Hazimeh et al., 2020). Mutation analysis scores fuzzers on detecting deliberately changed program versions (Görz et al., 2023).
Results on planted bugs may not carry over to real ones. In one study, synthetic bugs were significantly easier to find than naturally occurring bugs in the same programs (Bundt et al., 2021). A review of research integrated into the AFL++ fuzzer found that progress in exercising new coverage had largely stalled across the three fuzzers studied (Schiller et al., 2026).
Fuzzing at scale
Continuous fuzzing services report large numbers of bugs, but the counts depend on how reports are grouped and filtered. Google’s OSS-Fuzz service reports having helped identify and fix 50,000 bugs across 1,000 projects as of May 2025 (Google, n.d.f). How quickly those bugs are fixed, and what fuzzing does to vulnerability counts, is covered in Secure software development.
Raw report counts overstate distinct bugs. Of 2,526 fixed reports from syzbot, a continuous fuzzer of the Linux kernel, 47.1% duplicated one or more other reports (Mu et al., 2022). A large study of OSS-Fuzz counted only reports marked fixed, and so left out the rest (Shirai et al., 2025).
When fuzzing stops finding bugs Weak evidence: few or small studies support this
Finding more bugs gets much more expensive. In experiments with two greybox fuzzers, finding linearly more bugs in the same time required exponentially more machines (Böhme & Falk, 2020).
A fuzzing campaign can estimate its remaining risk, but only under a model of how it samples inputs. Böhme proposed a statistical framework for testing inspired by the discovery of new species (Böhme, 2018). A later model defines a campaign’s residual risk as the chance that the next generated input discovers a bug. In the same study, estimators built for black-box fuzzing systematically and substantially underestimated the true risk of a greybox campaign (Böhme et al., 2021).
Adoption and practical cost
Where adoption has been measured, fuzzing is a small part of testing, and usability is among the barriers. In one study of open-source Go projects, fuzz tests made up 3.15% of testing functions (Nourry et al., 2024a). In a survey of fuzzing practitioners, usability was among the leading barriers to adoption for experienced participants (Wolff et al., n.d.).
Much of the work lies in the code being fuzzed. Intermediate and experienced participants reported fuzzing failures or inconsistent results caused by bad fuzzing targets (Nourry et al., 2023). Fuzzers also fail to build: one study mined over 1.2 million OSS-Fuzz build logs to examine fuzzing build failures (Nourry et al., 2024b).
Language-model agents can now write tests that compete with fuzzers on some projects. In one study, agent-written property tests covered more of PyTorch than domain-specific fuzzers did, while the fuzzers covered more of the compilers and of PostgreSQL (Naziri et al., 2026). Fuzzing of compilers is covered in Compilers, and a related randomised method for distributed systems, deterministic simulation, in Distributed systems. Fuzzing finds failures on the inputs it tries; proving their absence for all inputs is the aim of formal verification.
Further reading
- Manès and colleagues, The art, science, and engineering of fuzzing: A survey (Manès et al., 2019): the standard taxonomy of fuzzers and a walk through each stage of a fuzzer’s design.
- Zeller and colleagues, The Fuzzing Book (Zeller et al., 2024): an open, executable textbook that builds fuzzers step by step, from random inputs to coverage and grammars.
- Klees and colleagues, Evaluating fuzz testing (Klees et al., 2018): the review that showed how fragile fuzzer comparisons are, with recommendations for running them.
- Schloegel and colleagues, SoK: Prudent evaluation practices for fuzzing (Schloegel et al., 2024): a later and larger audit of fuzzing evaluations, with guidelines.
- Cadar and Sen, Symbolic execution for software testing: Three decades later (Cadar & Sen, 2013): a short history of symbolic and concolic execution and what made them practical.
- Böhme, Liyanage and Wüstholz, Estimating residual risk in greybox fuzzing (Böhme et al., 2021): how far a fuzzing campaign can say what it has not yet found.
First published .
Known gaps
What this article cannot tell you yet.
- Sanitizers and other crash and memory-error detectors that fuzzers depend on were not researched.
- Which program states fuzzers reach poorly, such as checksums, magic values, deep protocol states and concurrency bugs, was not researched with empirical sources.
- Grammar, protocol, API and kernel fuzzing were covered only through a few comparisons, not as subjects of their own.
- Directed fuzzing, crash triage and deduplication tools were not researched.
- No independent estimate of the total cost of industrial fuzzing, in machine time or developer labour, was found.
- Whether coverage-guided fuzzing beats symbolic execution alone, as opposed to hybrid fuzzing beating coverage-guided fuzzing, has thin comparative evidence.
- Language-model agents that write fuzz harnesses for byte-level fuzzers were not researched; only agent-written property tests compared with fuzzers were.
References
- Solid source
- Rated highly trustworthy by the research, and every passage taken from it was found in it.
- Weak source
- Rated low, or a passage taken from it was not found in it.
- Medium trust
- Rated medium by the research.
- Not checked
- Rated high, but its passages could not all be checked against it.
Show all 39 references
- Baldoni, R., Coppa, E., D'Elia, D. C., Demetrescu, C., & Finocchi, I. (2016). A survey of symbolic execution techniques. arXiv. https://lim.univ-reunion.fr/staff/fred/Enseignement/Verif-M2/Articles/A_Survey_of_Symbolic_Execution_Techniques-Baldoni-2016.pdf Medium trust Read in large part.
- Barr, E. T., Harman, M., McMinn, P., Shahbaz, M., & Yoo, S. (2015). The oracle problem in software testing: a survey. IEEE Transactions on Software Engineering. https://coinse.github.io/publications/pdfs/Barr2015qd.pdf Medium trust Peer-reviewed, read in large part.
- Böhme, M. (2018). STADS: Software testing as species discovery. arXiv. https://arxiv.org/abs/1803.02130 Medium trust Preprint, abstract only.
- Böhme, M., & Falk, B. (2020). Fuzzing: On the exponential cost of vulnerability discovery. ESEC/FSE 2020, Association for Computing Machinery. https://research.monash.edu/en/publications/fuzzing-on-the-exponential-cost-of-vulnerability-discovery/ Solid source Peer-reviewed, abstract only.
- Böhme, M., Liyanage, D., & Wüstholz, V. (2021). Estimating residual risk in greybox fuzzing. ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering. https://mpi-softsec.github.io/papers/FSE21-residualrisk.pdf Solid source Peer-reviewed, read in large part.
- Bounimova, E., Godefroid, P., & Molnar, D. (2012). Billions and billions of constraints: Whitebox fuzz testing in production. Microsoft Research. https://www.microsoft.com/en-us/research/publication/billions-and-billions-of-constraints-whitebox-fuzz-testing-in-production/ Medium trust Vendor page, abstract only.
- Bundt, J., Fasano, A., Dolan-Gavitt, B., Robertson, W., & Leek, T. (2021). Evaluating synthetic bugs. Proceedings of the 2021 ACM Asia Conference on Computer and Communications Security. https://arxiv.org/abs/2208.11088 Solid source Peer-reviewed, read in large part.
- Cadar, C., & Sen, K. (2013). Symbolic execution for software testing: Three decades later. Communications of the ACM. https://www.cs.umd.edu/class/fall2017/cmsc818O/papers/symbolic-execution.pdf Solid source Peer-reviewed, read in large part.
- Daniele, C., Andarzian, S. B., & Poll, E. (2024). Fuzzers for stateful systems: Survey and research directions. ACM Computing Surveys. https://www.cs.ru.nl/~erikpoll/papers/StatefulFuzzers2023.pdf Medium trust Peer-reviewed, read in large part.
- Görz, P., Mathis, B., Hassler, K., Güler, E., Holz, T., Zeller, A., et al. (2023). Systematic assessment of fuzzers using mutation analysis. 32nd USENIX Security Symposium. https://www.usenix.org/system/files/usenixsecurity23-gorz.pdf Solid source Peer-reviewed, read in large part.
- Hazimeh, A., Herrera, A., & Payer, M. (2020). Magma: A ground-truth fuzzing benchmark. arXiv. https://arxiv.org/abs/2009.01120 Solid source Peer-reviewed, abstract only.
- Jang, D., Kim, J., Kim, J., Im, W., Jeong, M., Choi, B., et al. (2024b). On the analysis of coverage feedback in a fuzzing proprietary system. Applied Sciences. https://www.mdpi.com/2076-3417/14/13/5939 Solid source Peer-reviewed, read in large part.
- Jiang, L., Yuan, H., Wu, M., Zhang, L., & Zhang, Y. (2023a). Evaluating and improving hybrid fuzzing. 2023 IEEE/ACM 45th International Conference on Software Engineering. https://zhangyuqun.github.io/publications/icse2023a.pdf Solid source Peer-reviewed, read in large part.
- King, J. C. (1976). Symbolic execution and program testing. Communications of the ACM. https://yurichev.com/mirrors/king76symbolicexecution.pdf Solid source Peer-reviewed, read in large part.
- Klees, G., Ruef, A., Cooper, B., Wei, S., & Hicks, M. (2018). Evaluating fuzz testing. ACM SIGSAC Conference on Computer and Communications Security. https://arxiv.org/abs/1808.09700 Medium trust Peer-reviewed, read in large part.
- Laeufer, K., Koenig, J., Kim, D., Bachrach, J., & Sen, K. (2018). RFUZZ: Coverage-directed fuzz testing of RTL on FPGAs. IEEE/ACM International Conference on Computer-Aided Design. https://kevinlaeufer.com/pdfs/rfuzz_kevin_laeufer_iccad2018.pdf Solid source Peer-reviewed, read in large part.
- Li, Y., Ji, S., Chen, Y., Liang, S., Lee, W., Chen, Y., et al. (2021d). UNIFUZZ: A holistic and pragmatic metrics-driven platform for evaluating fuzzers. USENIX Security Symposium. https://www.usenix.org/conference/usenixsecurity21/presentation/li-yuwei Solid source Peer-reviewed, abstract only.
- Manès, V. J. M., Han, H., Han, C., Cha, S. K., Egele, M., Schwartz, E. J., et al. (2019). The art, science, and engineering of fuzzing: A survey. arXiv. https://arxiv.org/pdf/1812.00140 Medium trust Preprint, read in large part.
- Metzman, J., Szekeres, L., Simon, L., Sprabery, R., & Arya, A. (2021). FuzzBench: An open fuzzer benchmarking platform and service. ESEC/FSE 2021, Association for Computing Machinery. https://storage.googleapis.com/gweb-research2023-media/pubtools/6318.pdf Medium trust Peer-reviewed, read in large part.
- Miller, B. P., Fredriksen, L., & So, B. (1990). An empirical study of the reliability of UNIX utilities. Communications of the ACM. https://go.gale.com/ps/i.do?asid=4fff4cb1&id=GALE%7CA9716281&it=r&p=AONE&u=googlescholar&v=2.1 Solid source Peer-reviewed, read in large part.
- Miller, B. P., Zhang, M., & Heymann, E. R. (2020). The relevance of classic fuzz testing: Have we solved this one? arXiv. https://arxiv.org/abs/2008.06537 Medium trust Peer-reviewed, read in large part.
- Miller, B. P. (n.d.). Fuzz testing of application reliability. University of Wisconsin-Madison. https://pages.cs.wisc.edu/~bart/fuzz/ Solid source Read in large part.
- Mu, D., Wu, Y., Chen, Y., Lin, Z., Yu, C., Xing, X., et al. (2022). An in-depth analysis of duplicated Linux kernel bug reports. Network and Distributed System Security Symposium. https://mudongliang.github.io/files/papers/NDSS_deduplication.pdf Solid source Peer-reviewed, read in large part.
- Naziri, M. M. A., Qin, F., Patel, K., & d'Amorim, M. (2026). A multi-domain study on the effectiveness of LLMs at writing property-based tests. arXiv. https://arxiv.org/abs/2610.34487 Medium trust Preprint, abstract only.
- Nourry, O., Kashiwa, Y., Lin, B., Bavota, G., Lanza, M., & Kamei, Y. (2023). The human side of fuzzing: Challenges faced by developers during fuzzing activities. ACM Transactions on Software Engineering and Methodology. https://posl.ait.kyushu-u.ac.jp/~kamei/publications/Nourry_TOSEM2023.pdf Solid source Peer-reviewed, read in large part.
- Nourry, O., Kondo, M., Alfadel, M., McIntosh, S., & Kamei, Y. (2024a). Exploring the adoption of fuzz testing in open-source software: A case study of the Go community. International Conference on Software Maintenance and Evolution. https://rebels.cs.uwaterloo.ca/confpaper/2024/10/08/exploring-the-adoption-of-fuzz-testing-in-open-source-software.html Solid source Peer-reviewed, abstract only.
- Nourry, O., Kashiwa, Y., Shang, W., Shu, H., & Kamei, Y. (2024b). My fuzzers won't build: An empirical study of fuzzing build failures. ACM Transactions on Software Engineering and Methodology. https://posl.ait.kyushu-u.ac.jp/~kamei/publications/Nourry_TOSEM2024.pdf Solid source Peer-reviewed, read in large part.
- Google (n.d.f). OSS-Fuzz: Continuous fuzzing for open source software. GitHub. https://github.com/google/oss-fuzz Medium trust Documentation, read in large part.
- Padhye, R., Lemieux, C., Sen, K., Papadakis, M., & Le Traon, Y. (2019). Semantic fuzzing with Zest. Proceedings of the 28th ACM SIGSOFT International Symposium on Software Testing and Analysis. https://arxiv.org/pdf/1812.00078 Medium trust Peer-reviewed, read in large part.
- Schiller, N., Bars, N., Schloegel, M., & Holz, T. (2026). SoK: A systematic review of integration and reproducibility of fuzzing research into AFL++. IEEE European Symposium on Security and Privacy (EuroS&P 2026). https://mschloegel.me/paper/schiller2026sokfuzzerevolution.pdf Solid source Peer-reviewed, read in large part.
- Schloegel, M., Bars, N., Schiller, N., Bernhard, L., Scharnowski, T., Crump, A., et al. (2024). SoK: Prudent evaluation practices for fuzzing. IEEE Symposium on Security and Privacy. https://arxiv.org/abs/2405.10220 Solid source Peer-reviewed, read in large part.
- Şentürk, Ş., Garousi, V., & Yumuşak, N. (2025). A case study of gray-box fuzzing with byte- and tree-level mutation strategies in XML-based applications for exposing security vulnerabilities. Turkish Journal of Electrical Engineering and Computer Sciences. https://journals.tubitak.gov.tr/elektrik/vol33/iss2/2/ Medium trust Peer-reviewed, abstract only.
- Shamshiri, S., Just, R., Rojas, J. M., Fraser, G., McMinn, P., & Arcuri, A. (2015). Do automatically generated unit tests find real faults? An empirical study of effectiveness and challenges. 30th IEEE/ACM International Conference on Automated Software Engineering (ASE). https://homes.cs.washington.edu/~rjust/publ/unit_test_generation_effectiveness_ase_2015.pdf Solid source Peer-reviewed, read in large part.
- Shirai, T., Nourry, O., Kashiwa, Y., Fujiwara, K., Kamei, Y., & Iida, H. (2025). Large-scale empirical analysis of continuous fuzzing: Insights from 1 million fuzzing sessions. arXiv. https://arxiv.org/abs/2510.16433 Solid source Preprint, read in large part.
- Vikram, V., Padhye, R., & Sen, K. (2021). Growing a test corpus with Bonsai fuzzing. IEEE/ACM International Conference on Software Engineering. https://arxiv.org/abs/2103.04388 Medium trust Preprint, abstract only.
- Wang, J., Duan, Y., Song, W., Yin, H., & Song, C. (2019a). Be sensitive and collaborative: Analyzing impact of coverage metrics in greybox fuzzing. International Symposium on Research in Attacks, Intrusions and Defenses. https://www.usenix.org/conference/raid2019/presentation/wang Solid source Peer-reviewed, abstract only.
- Wolff, D., Böhme, M., & Roychoudhury, A. (2022). Fuzzing: On benchmarking outcome as a function of benchmark properties. arXiv. https://arxiv.org/html/2212.09519 Solid source Preprint, read in large part.
- Wolff, D. J., Shariffdeen, R., Noller, Y., & Roychoudhury, A. (n.d.). Shifting fuzzing left in software workflows. Manuscript. https://dylanjwolff.com/assets/shifting.pdf Medium trust Preprint, read in large part.
- Zeller, A., Gopinath, R., Böhme, M., Fraser, G., & Holler, C. (2024). The fuzzing book. CISPA Helmholtz Center for Information Security. https://www.fuzzingbook.org/html/00_Table_of_Contents.html Medium trust Book, read in large part.