Skip to main navigation Skip to search Skip to main content

Adapting LLM to Generate Vulnerability Descriptions and Repair Suggestions

  • Wenxin Tao
  • , Yekun Ke
  • , Zhaohui Dong
  • , Yanlong Li
  • , Xiaohong Su*
  • *Corresponding author for this work
  • Faculty of Computing, Harbin Institute of Technology
  • Signal Processing Laboratory

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

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.

Original languageEnglish
Title of host publication2025 IEEE 5th International Conference on Software Engineering and Artificial Intelligence, SEAI 2025
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages184-188
Number of pages5
ISBN (Electronic)9798331513610
DOIs
StatePublished - 2025
Externally publishedYes
Event5th IEEE International Conference on Software Engineering and Artificial Intelligence, SEAI 2025 - Fuzhou, China
Duration: 20 Jun 202522 Jun 2025

Publication series

Name2025 IEEE 5th International Conference on Software Engineering and Artificial Intelligence, SEAI 2025

Conference

Conference5th IEEE International Conference on Software Engineering and Artificial Intelligence, SEAI 2025
Country/TerritoryChina
CityFuzhou
Period20/06/2522/06/25

Keywords

  • Chain of Thought
  • Large Language Model
  • Retrieval-Augmented Generation
  • Software Security
  • Vulnerability Repair

Fingerprint

Dive into the research topics of 'Adapting LLM to Generate Vulnerability Descriptions and Repair Suggestions'. Together they form a unique fingerprint.

Cite this