LLM4CVE: Enabling Iterative Automated Vulnerability Repair with Large Language Models
Not on the map. Why?
Abstract (arXiv)
Software vulnerabilities continue to be ubiquitous, even in the era of AI-powered code assistants, advanced static analysis tools, and the adoption of extensive testing frameworks. It has become apparent that we must not simply prevent these bugs, but also eliminate them in a quick, efficient manner. Yet, human code intervention is slow, costly, and can often lead to further security vulnerabilities, especially in legacy codebases. The advent of highly advanced Large Language Models (LLM) has opened up the possibility for many software defects to be patched automatically. We propose LLM4CVE an LLM-based iterative pipeline that robustly fixes vulnerable functions in real-world code with high accuracy. We examine our pipeline with State-of-the-Art LLMs, such as GPT-3.5, GPT-4o, Llama 38B, and Llama 3 70B. We achieve a human-verified quality score of 8.51/10 and an increase in groundtruth code similarity of 20% with Llama 3 70B. To promote further research in the area of LLM-based vulnerability repair, we publish our testing apparatus, fine-tuned weights, and experimental data on our website
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). First posted on arXiv 7 Jan 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 7; 2026: 2.
9 papers.
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
- 2025Security Degradation in Iterative AI Code Generation -- A Systematic Analysis of the Paradoxcited by 10
- 2025Large Language Models for Security Operations Centers: A Comprehensive Surveycited by 9
- 2026EvoRepair: Enhancing Vulnerability Repair Agents Through Experience-Based Self-Evolutioncited by 2
- 2025The 4/δ Bound: Designing Predictable LLM-Verifier Systems for Formal Method Guaranteecited by 1
- 2025Multi-Agent Framework for Threat Mitigation and Resilience in AI-Based Systemscited by 1
- 2025Evaluating LLMs for One-Shot Patching of Real and Artificial Vulnerabilitiescited by 0
- 2025From Illusion to Insight: Change-Aware File-Level Software Defect Prediction Using Agentic AIcited by 0
- 2026Security in a Workflow: Exploring Role-Based Agentic Architectures for Vulnerability Handlingcited by 0
- 2026Security in a Workflow: Exploring Role-Based Agentic Architectures for Vulnerability Handling12 Jun 2026
- 2026EvoRepair: Enhancing Vulnerability Repair Agents Through Experience-Based Self-Evolution28 May 2026
- 2025From Illusion to Insight: Change-Aware File-Level Software Defect Prediction Using Agentic AI29 Dec 2025
- 2025Multi-Agent Framework for Threat Mitigation and Resilience in AI-Based Systems29 Dec 2025
- 2025The 4/δ Bound: Designing Predictable LLM-Verifier Systems for Formal Method Guarantee30 Nov 2025
- 2025Evaluating LLMs for One-Shot Patching of Real and Artificial Vulnerabilities28 Nov 2025
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025Large Language Models for Security Operations Centers: A Comprehensive Survey13 Sep 2025
- 2025Security Degradation in Iterative AI Code Generation -- A Systematic Analysis of the Paradox19 May 2025