mlsanityData to 7 Oct 2026

A Case Study of LLM for Automated Vulnerability Repair: Assessing Impact of Reasoning and Patch Validation Feedback

arXiv 2405.15690 ↗First posted 24 May 2024cs.SEcited by 22

Not on the map. Why?

Abstract (arXiv)

Recent work in automated program repair (APR) proposes the use of reasoning and patch validation feedback to reduce the semantic gap between the LLMs and the code under analysis. The idea has been shown to perform well for general APR, but its effectiveness in other particular contexts remains underexplored. In this work, we assess the impact of reasoning and patch validation feedback to LLMs in the context of vulnerability repair, an important and challenging task in security. To support the evaluation, we present VRpilot, an LLM-based vulnerability repair technique based on reasoning and patch validation feedback. VRpilot (1) uses a chain-of-thought prompt to reason about a vulnerability prior to generating patch candidates and (2) iteratively refines prompts according to the output of external tools (e.g., compiler, code sanitizers, test suite, etc.) on previously-generated patches. To evaluate performance, we compare VRpilot against the state-of-the-art vulnerability repair techniques for C and Java using public datasets from the literature. Our results show that VRpilot generates, on average, 14% and 7.6% more correct patches than the baseline techniques on C and Java, respectively. We show, through an ablation study, that reasoning and patch validation feedback are critical. We report several lessons from this study and potential directions for advancing LLM-empowered vulnerability repair

Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). First posted on arXiv 24 May 2024.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 9; 2026: 11.

22 papers.

Sort:

By area:

  1. 2025LLM-Powered AI Agent Systems and Their Applications in Industrycited by 22
  2. 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
  3. 2024CTINexus: Automatic Cyber Threat Intelligence Knowledge Graph Construction Using Large Language Modelscited by 12
  4. 2024From Vulnerabilities to Remediation: A Systematic Literature Review of LLMs in Code Securitycited by 9
  5. 2026SGAgent: Suggestion-Guided LLM-Based Multi-Agent Framework for Repository-Level Software Repaircited by 9
  6. 2025OCR-APT: Reconstructing APT Stories from Audit Logs using Subgraph Anomaly Detection and LLMscited by 6
  7. 2025Raw Pointer Rewriting with LLMs for Translating C to Safer Rustcited by 4
  8. 2026AgenticVM: Agentic AI for Adaptive Software Vulnerability Managementcited by 2
  9. 2026EvoRepair: Enhancing Vulnerability Repair Agents Through Experience-Based Self-Evolutioncited by 2
  10. 2025A Blueprint for AI-Driven Software Quality: Integrating LLMs with Established Standardscited by 1
  11. 2025Repairing vulnerabilities without invisible hands. A differentiated replication study on LLMscited by 1
  12. 2026SynthFix: Adaptive Neuro-Symbolic Code Vulnerability Repaircited by 1
10 more
  1. 2026Beyond Refusal: A Same-Lineage Study of Aligned and Abliterated LLMs for Vulnerability Analysiscited by 1
  2. 2025SoK: Measuring What Matters for Closed-Loop Security Agentscited by 0
  3. 2025TypePilot: Leveraging the Scala Type System for Secure LLM-generated Codecited by 0
  4. 2025Evaluating LLMs for One-Shot Patching of Real and Artificial Vulnerabilitiescited by 0
  5. 2026RepoReviewer: A Local-First Multi-Agent Architecture for Repository-Level Code Reviewcited by 0
  6. 2026LogicEval: A Systematic Framework for Evaluating Automated Repair Techniques for Logical Vulnerabilities in Real-World Softwarecited by 0
  7. 2026RAVEN: Retrieval-Augmented Vulnerability Exploration Network for Memory Corruption Analysis in User Code and Binary Programscited by 0
  8. 2026SHIELDS: Automating OS Hardening with Iterative Multi-Agent Remediationcited by 0
  9. 2026Bulkhead: Automated Semantic Detection and Remediation of Container Escape Vulnerabilitiescited by 0
  10. 2026Plug 'n' Pray: Agentic LLM-based Detection of Potential Log File Exposures in Third-Party Content Management System Pluginscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Reasoning with LLMs for Zero-Shot Vulnerability Detection
  2. 2025Vul-R2: A Reasoning LLM for Automated Vulnerability Repair
  3. 2026Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiency
  4. 2025VulInstruct: Teaching LLMs Root-Cause Reasoning for Vulnerability Detection via Security Specifications
  5. 2024Vul-RAG: Enhancing LLM-based Vulnerability Detection via Knowledge-level RAG
  6. 2026Correct Verdicts, Flawed Reasoning: Structured Auditing of LLM-based Vulnerability Reasoning
  7. 2026Tool-Guided Retrieval-Augmented Repair for Securing LLM-Generated C Code
  8. 2025How Safe Are AI-Generated Patches? A Large-scale Study on Security Risks in LLM and Agentic Automated Program Repair on SWE-bench