Found, but Not Fixed : From Software Vulnerability Discovery to Fixes with Iterative LLM Pipelines
Youssef Gamal, Mohamad Fakih, Halima Bouzidi, Rahul Dharmaji, Gustavo Quiros Araya, Oluwatosin Ogundare, Mst Ayesha Siddika, Mohammad Abdullah Al Faruque
Abstract
Software vulnerabilities persist as a critical threat despite the deployment of sophisticated detection tools and AI assistants. While detection has advanced, the subsequent code repair phase remains a primary bottleneck; manual intervention is inherently slow, costly, and prone to introducing secondary regressions and issues. In this paper, we investigate whether an iterative, LLM-based pipeline can provide a robust solution for the automated repair of vulnerable functions in real-world code. We propose a generalized framework that leverages the reasoning capabilities of Large Language Models (LLMs) through a multi-stage feedback loop. We benchmark this approach against state-of-the-art models, including GPT-4o, GPT-5.1, and Gemini 3 Flash, demonstrating that such a pipeline can achieve high-quality code repair. To support the broader security community, we provide our evaluation framework, fine-tuned weights, and comprehensive experimental dataset on our website: https://sites.google.com/view/llm4cve
Create a lesson
Related papers
LLMs for Software Vulnerability Prediction and Prioritization: A Review
Shared title terminology · Faheem Ullah, Muhammad Moiz Khalid, Shayan Ayaz Khan et al.
From 6G Capabilities to Software-Business Value: A Multivocal Review of Characteristics, Opportunities, Challenges
Shared title terminology · Muhammad Zohaib, Azeem Akbar, Sami Hyrynsalmi et al.
Simulation-Based Testing of RCM-Constrained Robotic Software via Task Manifolds
Shared title terminology · Zhenyu Jiang, Yanlin Li, Rongjie Yan et al.
SWE-Recreation: Benchmarking Coding Agents for Software Recreation
Shared title terminology · Zhiyao Xu, Zhanjie Ding, Hongyao Yu et al.
Behavioral Containment: Source-to-Binary Function Matching for 1-Day Vulnerability Detection
Shared title terminology · Yifei Yang, Xuejiao Luo, Penghui Li
Ontology of Software Maintenance
Shared title terminology · Luis Olsina, Pablo Becker, Maria Fernanda Papa