Adapting LLM to Generate Vulnerability Descriptions and Repair Suggestions

Software vulnerabilities pose serious threats to the security of modern software systems. Existing detection tools can flag or pinpoint vulnerability but offer little guidance on how to fix them. In this paper, we leverage the generative and reasoning strengths of LLMs to bridge this gap, combining prompt tuning, retrieval-augmented generation, and chain-of-thought techniques to produce both clear vulnerability descriptions and concrete repair suggestions. We evaluated five mainstream LLMs on the BigVul dataset, and the combination of RAG and CoT methods achieves leading performance across multiple metrics in both the vulnerability description generation and repair suggestion generation tasks.

Institutions

Publication Details

Published
2025-06-20
DOI
https://doi.org/10.1109/seai65851.2025.11108759
Primary Topic
Gastrointestinal Tumor Research and Treatment
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Adapting LLM to Generate Vulnerability Descriptions and Repair Suggestions

Gastrointestinal Tumor Research and Treatment
article

Adapting LLM to Generate Vulnerability Descriptions and Repair Suggestions

article en

Abstract

Software vulnerabilities pose serious threats to the security of modern software systems. Existing detection tools can flag or pinpoint vulnerability but offer little guidance on how to fix them. In this paper, we leverage the generative and reasoning strengths of LLMs to bridge this gap, combining prompt tuning, retrieval-augmented generation, and chain-of-thought techniques to produce both clear vulnerability descriptions and concrete repair suggestions. We evaluated five mainstream LLMs on the BigVul dataset, and the combination of RAG and CoT methods achieves leading performance across multiple metrics in both the vulnerability description generation and repair suggestion generation tasks.

Harbin Institute of Technology (CN), Aerospace Institute (Germany) (DE)
Openalex Percentile: Top 36%
Gastrointestinal Tumor Research and Treatment
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.