Low-Cost and Comprehensive Non-textual Input Fuzzing with LLM-Synthesized Input Generators
Not on the map. Why?
Abstract (arXiv)
Modern software often accepts inputs with highly complex grammars. Recent advances in large language models (LLMs) have shown that they can be used to synthesize high-quality natural language text and code that conforms to the grammar of a given input format. Nevertheless, LLMs are often incapable or too costly to generate non-textual outputs, such as images, videos, and PDF files. This limitation hinders the application of LLMs in grammar-aware fuzzing. We present a novel approach to enabling grammar-aware fuzzing over non-textual inputs. We employ LLMs to synthesize and also mutate input generators, in the form of Python scripts, that generate data conforming to the grammar of a given input format. Then, non-textual data yielded by the input generators are further mutated by traditional fuzzers (AFL++) to explore the software input space effectively. Our approach, namely G2FUZZ, features a hybrid strategy that combines a holistic search driven by LLMs and a local search driven by industrial quality fuzzers. Two key advantages are: (1) LLMs are good at synthesizing and mutating input generators and enabling jumping out of local optima, thus achieving a synergistic effect when combined with mutation-based fuzzers; (2) LLMs are less frequently invoked unless really needed, thus significantly reducing the cost of LLM usage. We have evaluated G2FUZZ on a variety of input formats, including TIFF images, MP4 audios, and PDF files. The results show that G2FUZZ outperforms SOTA tools such as AFL++, Fuzztruction, and FormatFuzzer in terms of code coverage and bug finding across most programs tested on three platforms: UNIFUZZ, FuzzBench, and MAGMA.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). First posted on arXiv 31 Jan 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 8; 2026: 2.
10 papers.
- 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
- 2025VulnLLM-R: Specialized Reasoning LLM with Agent Scaffold for Vulnerability Detectioncited by 11
- 2025IP Leakage Attacks Targeting LLM-Based Multi-Agent Systemscited by 8
- 2025Reasoning as a Resource: Optimizing Fast and Slow Thinking in Code Generation Modelscited by 3
- 2025R1-Fuzz: Specializing Language Models for Textual Fuzzing via Reinforcement Learningcited by 1
- 2025SeedAIchemy: LLM-Driven Seed Corpus Generation for Fuzzingcited by 1
- 2025Rethinking and Exploring String-Based Malware Family Classification in the Era of LLMs and RAGcited by 0
- 2025Once4All: Skeleton-Guided SMT Solver Fuzzing with LLM-Synthesized Generatorscited by 0
- 2026LLMs + Security = Troublecited by 0
- 2026ABTest: Behavior-Driven Testing for AI Coding Agentscited by 0
- 2026ABTest: Behavior-Driven Testing for AI Coding Agents3 Apr 2026
- 2026LLMs + Security = Trouble9 Feb 2026
- 2025VulnLLM-R: Specialized Reasoning LLM with Agent Scaffold for Vulnerability Detection8 Dec 2025
- 2025SeedAIchemy: LLM-Driven Seed Corpus Generation for Fuzzing16 Nov 2025
- 2025R1-Fuzz: Specializing Language Models for Textual Fuzzing via Reinforcement Learning21 Sep 2025
- 2025Once4All: Skeleton-Guided SMT Solver Fuzzing with LLM-Synthesized Generators28 Aug 2025
- 2025Rethinking and Exploring String-Based Malware Family Classification in the Era of LLMs and RAG5 Jul 2025
- 2025Reasoning as a Resource: Optimizing Fast and Slow Thinking in Code Generation Models11 Jun 2025
- 2025IP Leakage Attacks Targeting LLM-Based Multi-Agent Systems18 May 2025
- 2025Frontier AI's Impact on the Cybersecurity Landscape7 Apr 2025