TL;DR
Researchers spent over 80 CPU-years testing whether synthetic bugs—the "gold standard" for benchmarking fuzzers—actually behave like real-world vulnerabilities. They discovered a massive "realism gap": synthetic bugs are significantly easier to find because they cluster near a program's "main path," whereas real organic bugs remain hidden deep in complex logic that current fuzzers still can't reach.
What Problem Does This Paper Address?
Fuzz testing (automatically feeding a program random inputs to find crashes) is a cornerstone of software security. However, evaluating which fuzzer is "best" is surprisingly difficult. Real-world bugs with known causes are rare and hard to collect at scale.
To solve this, researchers created tools like LAVA to inject thousands of synthetic bugs into programs. While this provided the "ground truth" needed for benchmarking, the community began to worry: Are we just building fuzzers that are good at finding "fake" bugs? This paper investigates whether synthetic bugs are an ecologically valid proxy for the organic vulnerabilities found in the wild.
Methods
The authors conducted a massive measurement study, utilizing over 733,000 CPU-hours (about 83.5 years of compute time). They evaluated eight prominent fuzzers, including:
- Grey-box fuzzers: AFL, AFL++, FairFuzz, Honggfuzz.
- Hybrid/Concolic fuzzers: QSYM, Angora (which use symbolic execution to "solve" complex code branches).
- Data-flow/Targeted fuzzers: Eclipser, Ankou.
They ran these across 20 targets from the LAVA-M corpus and the Rode0day bug-finding competition. To ensure a fair fight, they standardized compute resources and metrics, even developing a custom QEMU-based monitor to track coverage and bug discovery in real-time without interfering with the fuzzers' performance.
Datasets
- LAVA-M: The classic benchmark containing four programs (base64, md5sum, pr, who) with thousands of injected bugs.
- Rode0day Challenges: 16 challenges based on 10 real-world open-source programs (like
sqlite,tcpdump, andpcre) injected with various types of synthetic bugs (single-byte vs. multi-byte triggers). - Organic Bugs: The authors identified 50 "organic" bugs (real CVEs) that existed in the versions of the software used for the challenges to see if any fuzzer could rediscover them.
Key Insights and Ideas
- The "Main Path" Bias: This is the paper's "aha moment." The authors found that 85% of LAVA-injected bugs were only one "edge" (a single jump in the code) away from the paths the fuzzer was already exploring. In contrast, organic bugs were often buried deep in functions that the fuzzers never even touched.
- The Dictionary Cheat Code: For standard AFL-based fuzzers, LAVA bugs are nearly impossible to find—unless you provide a dictionary of "magic values" found in the binary. With a simple dictionary, AFL’s success rate jumped from 2.7% to 74%. This suggests LAVA evaluates a fuzzer's ability to use a dictionary more than its ability to find deep logic flaws.
- Hybrid Fuzzing is King: QSYM, which combines traditional fuzzing with concolic execution (mathematically solving for inputs), consistently outperformed the field. It was the only fuzzer capable of reliably solving the multi-variable constraints used in newer synthetic bug injection methods.
Key Results
- Zero Organic Bugs Found: Despite 50 real-world vulnerabilities being present in the code and 80 years of CPU time, not a single organic bug was found by any fuzzer. This highlights the extreme difficulty of finding real vulnerabilities compared to synthetic ones.
- Synthetic Bugs are "Easy": Even the "hard" synthetic bugs in the Rode0day corpus were usually found within 3 hours. LAVA-M bugs were often found in under a minute.
- Performance Inconsistency: No single fuzzer won every test. While QSYM was the overall leader, some fuzzers like Honggfuzz showed "brilliant but brittle" performance, excelling on specific types of input parsers but failing elsewhere.
Limitations and Future Work
The authors conclude that current synthetic bug injection is "broken" if the goal is to simulate real-world vulnerability discovery. Synthetic bugs are too "shallow" and rely too heavily on simple magic-value comparisons.
Future Directions:
1. Distance-based Injection: Bug injectors should aim to place bugs "far" from the main execution path to force fuzzers to explore deeper logic.
2. Complex Constraints: Instead of simple 32-bit equality checks (e.g., if (x == 0x1234)), bugs should be triggered by complex data flows across multiple functions.
3. Anti-Dictionary Techniques: Injection methods need to be resistant to simple dictionary-based "cheating" to better measure a fuzzer's true analytical power.
In short: we need harder, deeper, and more "annoying" synthetic bugs if we want to build fuzzers that can actually protect real-world software.
Summary updated