mlsanityData to 14 Oct 2026

Vul-R2: A Reasoning LLM for Automated Vulnerability Repair

arXiv 2510.05480 ↗First posted 7 Oct 2025cs.AI cs.SEcited by 5

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

  1. 2022Language Models Are Greedy Reasoners: A Systematic Formal Analysis of Chain-of-Thoughtcited by 337
  2. 2025REINFORCE++: Stabilizing Critic-Free Policy Optimization with Global Advantage Normalizationcited by 241
  3. 2025GTR: Guided Thought Reinforcement Prevents Thought Collapse in RL-based VLM Agent Trainingcited by 14

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 4.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Rethinking the Capability of Fine-Tuned Language Models for Automated Vulnerability Repair
  2. 2024A Case Study of LLM for Automated Vulnerability Repair: Assessing Impact of Reasoning and Patch Validation Feedback
  3. 2025R2Vul: Learning to Reason about Software Vulnerabilities with Reinforcement Learning and Structured Reasoning Distillation
  4. 2025VulnLLM-R: Specialized Reasoning LLM with Agent Scaffold for Vulnerability Detection
  5. 2024VulScribeR: Exploring RAG-based Vulnerability Augmentation with LLMs
  6. 2024LLM4Vuln: A Unified Evaluation Framework for Decoupling and Enhancing LLMs' Vulnerability Reasoning
  7. 2024To Err is Machine: Vulnerability Detection Challenges LLM Reasoning
  8. 2025VulInstruct: Teaching LLMs Root-Cause Reasoning for Vulnerability Detection via Security Specifications