mlsanityData to 14 Oct 2026

deepSURF: Detecting Memory Safety Vulnerabilities in Rust Through Fuzzing LLM-Augmented Harnesses

arXiv 2506.15648 ↗First posted 18 Jun 2025cs.CR cs.LG cs.SEcited by 1

Not on the map. Why?

Abstract (arXiv)

Although Rust ensures memory safety by default, it also permits the use of unsafe code, which can introduce memory safety vulnerabilities if misused. Unfortunately, existing tools for detecting memory bugs in Rust typically exhibit limited detection capabilities, inadequately handle Rust-specific types, or rely heavily on manual intervention. To address these limitations, we present deepSURF, a tool that integrates static analysis with Large Language Model (LLM)-guided fuzzing harness generation to effectively identify memory safety vulnerabilities in Rust libraries, specifically targeting unsafe code. deepSURF introduces a novel approach for handling generics by substituting them with custom types and generating tailored implementations for the required traits, enabling the fuzzer to simulate user-defined behaviors within the fuzzed library. Additionally, deepSURF employs LLMs to augment fuzzing harnesses dynamically, facilitating exploration of complex API interactions and significantly increasing the likelihood of exposing memory safety vulnerabilities. We evaluated deepSURF on 63 real-world Rust crates, successfully rediscovering 30 known memory safety bugs and uncovering 12 previously-unknown vulnerabilities (out of which 11 have been assigned RustSec IDs and 3 have been patched), demonstrating clear improvements over state-of-the-art tools.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 17 of its 69 references that are in the map. First posted on arXiv 18 Jun 2025.

Builds on

17 of 69 references.

References · 17

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  2. 2021Program Synthesis with Large Language Modelscited by 3,637
  3. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
  4. 2022Large Language Models are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Modelscited by 103
  5. 2023ChatUniTest: A Framework for LLM-Based Test Generationcited by 96
  6. 2023Fuzz4All: Universal Fuzzing with Large Language Modelscited by 88
  7. 2022Pynguin: Automated Unit Test Generation for Pythoncited by 50
  8. 2023Prompt Fuzzing for Fuzz Driver Generationcited by 27
  9. 2023How Effective Are They? Exploring Large Language Model Based Fuzz Driver Generationcited by 21
  10. 2023KernelGPT: Enhanced Kernel Fuzzing via Large Language Modelscited by 17
  11. 2024When Fuzzing Meets LLMs: Challenges and Opportunitiescited by 8
  12. 2020Is Rust Used Safely by Software Developers?cited by 5
5 more
  1. 2021RULF: Rust Library Fuzzing via API Dependency Graph Traversalcited by 5
  2. 2023Yuga: Automatically Detecting Lifetime Annotation Bugs in the Rust Languagecited by 1
  3. 2023Fuzz Driver Synthesis for Rust Generic APIscited by 1
  4. 2024A Mixed-Methods Study on the Implications of Unsafe Rust for Interoperation, Encapsulation, and Toolingcited by 1
  5. 2025Targeted Fuzzing for Unsafe Rust Code: Leveraging Selective Instrumentationcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.