mlsanityData to 14 Oct 2026

LLAMAFUZZ: Large Language Model Enhanced Greybox Fuzzing

arXiv 2406.07714 ↗First posted 11 Jun 2024cs.CR cs.AI cs.SEcited by 14

Not on the map. Why?

Abstract (arXiv)

Greybox fuzzing has achieved success in revealing bugs and vulnerabilities in programs. However, randomized mutation strategies have limited the fuzzer's performance on structured data. Specialized fuzzers can handle complex structured data, but require additional efforts in grammar and suffer from low throughput. In this paper, we explore the potential of utilizing the Large Language Model to enhance greybox fuzzing for structured data. We utilize the pre-trained knowledge of LLM about data conversion and format to generate new valid inputs. We further fine-tuned it with paired mutation seeds to learn structured format and mutation strategies effectively. Our LLM-based fuzzer, LLAMAFUZZ, integrates the power of LLM to understand and mutate structured data to fuzzing. We conduct experiments on the standard bug-based benchmark Magma and a wide variety of real-world programs. LLAMAFUZZ outperforms our top competitor by 41 bugs on average. We also identified 47 unique bugs across all trials. Moreover, LLAMAFUZZ demonstrated consistent performance on both bug trigger and bug reached. Compared to AFL++, LLAMAFUZZ achieved 27.19% more branches in real-world program sets on average. We also demonstrate a case study to explain how LLMs enhance the fuzzing process in terms of code coverage.

Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Builds on 23 of its 78 references that are in the map. First posted on arXiv 11 Jun 2024.

Builds on

23 of 78 references.

References · 23

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  4. 2022Competition-Level Code Generation with AlphaCodecited by 1,462
  5. 2024Parameter-Efficient Fine-Tuning for Large Models: A Comprehensive Surveycited by 656
  6. 2018Model compression via distillation and quantizationcited by 289
  7. 2022Large Language Models are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Modelscited by 103
  8. 2023WhiteFox: White-Box Compiler Fuzzing Empowered by Large Language Modelscited by 37
  9. 2018Evaluating Fuzz Testingcited by 32
  10. 2022Free Lunch for Testing: Fuzzing Deep-Learning Libraries from Open Sourcecited by 28
  11. 2017FairFuzz: Targeting Rare Branches to Rapidly Increase Greybox Fuzz Testing Coveragecited by 20
  12. 2023Augmenting Greybox Fuzzing with Generative AIcited by 18
11 more
  1. 2020Magma: A Ground-Truth Fuzzing Benchmarkcited by 16
  2. 2018Superion: Grammar-Aware Greybox Fuzzingcited by 12
  3. 2018Smart Greybox Fuzzingcited by 6
  4. 2021Snipuzz: Black-box Fuzzing of IoT Firmware via Message Snippet Inferencecited by 6
  5. 2024Compressed-Language Models for Understanding Compressed File Formats: a JPEG Explorationcited by 4
  6. 2018SmartSeed: Smart Seed Generation for Efficient Fuzzingcited by 3
  7. 2024CovRL: Fuzzing JavaScript Engines with Coverage-Guided Reinforcement Learning for LLM-based Mutationcited by 3
  8. 2023Advanced White-Box Heuristics for Search-Based Fuzzing of REST APIscited by 2
  9. 2019WEIZZ: Automatic Grey-box Fuzzing for Structured Binary Formatscited by 1
  10. 2023Hyperfuzzing: black-box security hypertesting with a grey-box fuzzercited by 1
  11. 2024WhisperFuzz: White-Box Fuzzing for Detecting and Locating Timing Vulnerabilities in Processorscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 2; 2025: 7; 2026: 5.

14 papers.

Sort:

By area: