Fuzzing: Randomness? Reasoning! Efficient Directed Fuzzing via Large Language Models
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
Fuzzing is highly effective in detecting bugs due to the key contribution of randomness. However, randomness significantly reduces the efficiency of fuzzing, causing it to cost days or weeks to expose bugs. Even though directed fuzzing reduces randomness by guiding fuzzing towards target buggy locations, the dilemma of randomness still challenges directed fuzzers. Two critical components, which are seeds and mutators, contain randomness and are closely tied to the conditions required for triggering bugs. Therefore, to address the challenge of randomness, we propose to use large language models (LLMs) to remove the randomness in seeds and reduce the randomness in mutators. With their strong reasoning and code generation capabilities, LLMs can be used to generate reachable seeds that target pre-determined locations and to construct bug-specific mutators tailored for specific bugs. We propose RandLuzz, which integrates LLMs and directed fuzzing, to improve the quality of seeds and mutators, resulting in efficient bug exposure. RandLuzz analyzes function call chain or functionality to guide LLMs in generating reachable seeds. To construct bug-specific mutators, RandLuzz uses LLMs to perform bug analysis, obtaining information such as bug causes and mutation suggestions, which further help generate code that performs bug-specific mutations. We evaluate RandLuzz by comparing it with four state-of-the-art directed fuzzers, AFLGo, Beacon, WindRanger, and SelectFuzz. With RandLuzz-generated seeds, the fuzzers achieve an average speedup ranging from 2.1× to 4.8× compared to using widely-used initial seeds. Additionally, when evaluated on individual bugs, RandLuzz achieves up to a 2.7× speedup compared to the second-fastest exposure. On 8 bugs, RandLuzz can even expose them within 60 seconds.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 14 of its 44 references that are in the map. First posted on arXiv 30 Jun 2025.
Builds on
14 of 44 references.
References · 14
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
- 2024MM-LLMs: Recent Advances in MultiModal Large Language Modelscited by 277
- 2022Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproductioncited by 110
- 2022Large Language Models are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Modelscited by 102
- 2023Fuzz4All: Universal Fuzzing with Large Language Modelscited by 88
- 2023Autoregressive Omni-Aware Outpainting for Open-Vocabulary 360-Degree Image Generationcited by 33
- 2018Evaluating Fuzz Testingcited by 29
- 2021Snipuzz: Black-box Fuzzing of IoT Firmware via Message Snippet Inferencecited by 6
- 2022MC2: Rigorous and Efficient Directed Greybox Fuzzingcited by 5
- 2023ODDFUZZ: Discovering Java Deserialization Vulnerabilities via Structure-Aware Directed Greybox Fuzzingcited by 4
- 2023Terrain Diffusion Network: Climatic-Aware Terrain Generation with Geological Sketch Guidancecited by 3
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025Hybrid Fuzzing with LLM-Guided Input Mutation and Semantic Feedback
- 2025Locus: Agentic Predicate Synthesis for Directed Fuzzing
- 2025LibLMFuzz: LLM-Augmented Fuzz Target Generation for Black-box Libraries
- 2026SeedSmith: LLM-Driven Seed Synthesis for Directed Fuzzing ↗
- 2025Fuzzwise: Intelligent Initial Corpus Generation for Fuzzing
- 2026Agentic Fuzzing: Opportunities and Challenges
- 2026Fuzzing with Agents? Generators Are All You Need
- 2026FuzzPilot: Plateau-Triggered Recipe Validation for Structured Text Fuzzing ↗