mlsanityData to 7 Oct 2026

FuzzCoder: Byte-level Fuzzing Test via Large Language Model

arXiv 2409.01944 ↗First posted 3 Sep 2024cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

Fuzzing is an important dynamic program analysis technique designed for finding vulnerabilities in complex software. Fuzzing involves presenting a target program with crafted malicious input to cause crashes, buffer overflows, memory errors, and exceptions. Crafting malicious inputs in an efficient manner is a difficult open problem and the best approaches often apply uniform random mutations to pre-existing valid inputs. In this work, we propose to adopt fine-tuned large language models (FuzzCoder) to learn patterns in the input files from successful attacks to guide future fuzzing explorations. Specifically, we develop a framework to leverage the code LLMs to guide the mutation process of inputs in fuzzing. The mutation process is formulated as the sequence-to-sequence modeling, where LLM receives a sequence of bytes and then outputs the mutated byte sequence. FuzzCoder is fine-tuned on the created instruction dataset (Fuzz-Instruct), where the successful fuzzing history is collected from the heuristic fuzzing tool. FuzzCoder can predict mutation locations and strategies locations in input files to trigger abnormal behaviors of the program. Experimental results show that FuzzCoder based on AFL (American Fuzzy Lop) gain significant improvements in terms of effective proportion of mutation (EPM) and number of crashes (NC) for various input formats including ELF, JPG, MP3, and XML.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 18 of its 31 references that are in the map. First posted on arXiv 3 Sep 2024.

Builds on

18 of 31 references.

References · 18

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2023Qwen Technical Reportcited by 3,273
  5. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  6. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  7. 2019Neural Machine Translation with Byte-Level Subwordscited by 115
  8. 2018DLFuzz: Differential Fuzzing Testing of Deep Learning Systemscited by 64
  9. 2018The Art, Science, and Engineering of Fuzzing: A Surveycited by 61
  10. 2024xCoT: Cross-lingual Instruction Tuning for Cross-lingual Chain-of-Thought Reasoningcited by 46
  11. 2023OWL: A Large Language Model for IT Operationscited by 43
  12. 2023A Critical Review of Large Language Model on Software Engineering: An Example from ChatGPT and Automated Program Repaircited by 29
6 more
  1. 2022Free Lunch for Testing: Fuzzing Deep-Learning Libraries from Open Sourcecited by 27
  2. 2017Learn&Fuzz: Machine Learning for Input Fuzzingcited by 23
  3. 2021DocTer: Documentation Guided Fuzzing for Testing Deep Learning API Functionscited by 21
  4. 2024Beyond Language Models: Byte Models are Digital World Simulatorscited by 21
  5. 2024Lemur: Log Parsing with Entropy Sampling and Chain-of-Thought Mergingcited by 16
  6. 2024On the Challenges of Fuzzing Techniques via Large Language Modelscited by 4

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.