Vul-R2: A Reasoning LLM for Automated Vulnerability Repair
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
The exponential increase in software vulnerabilities has created an urgent need for automatic vulnerability repair (AVR) solutions. Recent research has formulated AVR as a sequence generation problem and has leveraged large language models (LLMs) to address this problem. Typically, these approaches prompt or fine-tune LLMs to generate repairs for vulnerabilities directly. Although these methods show state-of-the-art performance, they face the following challenges: (1) Lack of high-quality, vulnerability-related reasoning data. Current approaches primarily rely on foundation models that mainly encode general programming knowledge. Without vulnerability-related reasoning data, they tend to fail to capture the diverse vulnerability repair patterns. (2) Hard to verify the intermediate vulnerability repair process during LLM training. Existing reinforcement learning methods often leverage intermediate execution feedback from the environment (e.g., sandbox-based execution results) to guide reinforcement learning training. In contrast, the vulnerability repair process generally lacks such intermediate, verifiable feedback, which poses additional challenges for model training.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 3 of its 71 references that are in the map. First posted on arXiv 7 Oct 2025.
Builds on
3 of 71 references.
References · 3
- 2022Language Models Are Greedy Reasoners: A Systematic Formal Analysis of Chain-of-Thoughtcited by 337
- 2025REINFORCE++: Stabilizing Critic-Free Policy Optimization with Global Advantage Normalizationcited by 241
- 2025GTR: Guided Thought Reinforcement Prevents Thought Collapse in RL-based VLM Agent Trainingcited by 14
Built on by
Citing papers per year: 2025: 1; 2026: 4.
5 papers.
- 2025SEER: Enhancing Chain-of-Thought Code Generation through Self-Exploring Deep Reasoningcited by 2
- 2026EvoRepair: Enhancing Vulnerability Repair Agents Through Experience-Based Self-Evolutioncited by 2
- 2026AgenticRepair: Multi-Faceted Program Context Engineering for Agentic Vulnerability Repaircited by 1
- 2026Knowledge-Enhanced Agentic Vulnerability Repaircited by 0
- 2026How Reasoning Shapes Social Bias in LLM-Generated Code?cited by 0
- 2026How Reasoning Shapes Social Bias in LLM-Generated Code?7 Aug 2026
- 2026AgenticRepair: Multi-Faceted Program Context Engineering for Agentic Vulnerability Repair31 Jul 2026
- 2026Knowledge-Enhanced Agentic Vulnerability Repair1 Jul 2026
- 2026EvoRepair: Enhancing Vulnerability Repair Agents Through Experience-Based Self-Evolution28 May 2026
- 2025SEER: Enhancing Chain-of-Thought Code Generation through Self-Exploring Deep Reasoning20 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2025Rethinking the Capability of Fine-Tuned Language Models for Automated Vulnerability Repair
- 2024A Case Study of LLM for Automated Vulnerability Repair: Assessing Impact of Reasoning and Patch Validation Feedback
- 2025R2Vul: Learning to Reason about Software Vulnerabilities with Reinforcement Learning and Structured Reasoning Distillation
- 2025VulnLLM-R: Specialized Reasoning LLM with Agent Scaffold for Vulnerability Detection
- 2024VulScribeR: Exploring RAG-based Vulnerability Augmentation with LLMs
- 2024LLM4Vuln: A Unified Evaluation Framework for Decoupling and Enhancing LLMs' Vulnerability Reasoning
- 2024To Err is Machine: Vulnerability Detection Challenges LLM Reasoning
- 2025VulInstruct: Teaching LLMs Root-Cause Reasoning for Vulnerability Detection via Security Specifications