mlsanityData to 14 Oct 2026

VulnLLMEval: A Framework for Evaluating Large Language Models in Software Vulnerability Detection and Patching

arXiv 2409.10756 ↗First posted 16 Sep 2024cs.SE cs.AIcited by 9

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) have shown promise in tasks like code translation, prompting interest in their potential for automating software vulnerability detection (SVD) and patching (SVP). To further research in this area, establishing a benchmark is essential for evaluating the strengths and limitations of LLMs in these tasks. Despite their capabilities, questions remain regarding whether LLMs can accurately analyze complex vulnerabilities and generate appropriate patches. This paper introduces VulnLLMEval, a framework designed to assess the performance of LLMs in identifying and patching vulnerabilities in C code. Our study includes 307 real-world vulnerabilities extracted from the Linux kernel, creating a well-curated dataset that includes both vulnerable and patched code. This dataset, based on real-world code, provides a diverse and representative testbed for evaluating LLM performance in SVD and SVP tasks, offering a robust foundation for rigorous assessment. Our results reveal that LLMs often struggle with distinguishing between vulnerable and patched code. Furthermore, in SVP tasks, these models tend to oversimplify the code, producing solutions that may not be directly usable without further refinement.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 32 of its 56 references that are in the map. First posted on arXiv 16 Sep 2024.

Builds on

32 of 56 references.

References · 32

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  4. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  5. 2016Overcoming catastrophic forgetting in neural networkscited by 4,787
  6. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
  7. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  8. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  9. 2020Meta-Learning in Neural Networks: A Surveycited by 950
  10. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
  11. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 744
  12. 2013An Empirical Investigation of Catastrophic Forgetting in Gradient-Based Neural Networkscited by 722
20 more
  1. 2024Executable Code Actions Elicit Better LLM Agentscited by 564
  2. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 498
  3. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
  4. 2021Unified Pre-training for Program Understanding and Generationcited by 366
  5. 2022A Systematic Evaluation of Large Language Models of Codecited by 363
  6. 2023Using an LLM to Help With Code Understandingcited by 228
  7. 2023An Empirical Evaluation of Using Large Language Models for Automated Unit Test Generationcited by 194
  8. 2023Software Testing with Large Language Models: Survey, Landscape, and Visioncited by 166
  9. 2020Deep Learning based Vulnerability Detection: Are We There Yet?cited by 144
  10. 2018Automated Vulnerability Detection in Source Code Using Deep Representation Learningcited by 114
  11. 2023LLMs Cannot Reliably Identify and Reason About Security Vulnerabilities (Yet?): A Comprehensive Evaluation, Framework, and Benchmarkscited by 97
  12. 2024Automated Unit Test Improvement using Large Language Models at Metacited by 75
  13. 2018The Art, Science, and Engineering of Fuzzing: A Surveycited by 62
  14. 2023Understanding the Effectiveness of Large Language Models in Detecting Security Vulnerabilitiescited by 59
  15. 2023A Survey of Learning-based Automated Program Repaircited by 55
  16. 2022Automatic Code Documentation Generation Using GPT-3cited by 37
  17. 2018Evaluating Fuzz Testingcited by 32
  18. 2023DIGEST: Fast and Communication Efficient Decentralized Learning with Local Updatescited by 12
  19. 2024Automatic Data Labeling for Software Vulnerability Prediction Models: How Far Are We?cited by 6
  20. 2024Differentiated Aggregation to Improve Generalization in Federated Learningcited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 7; 2026: 1.

9 papers.