Yiwei Hu, Zhen Li, Kedie Shu, Shenghua Guan, and Deqing Zou, Huazhong University of Science and Technology; Shouhuai Xu, University of Colorado Colorado Springs; Bin Yuan and Hai Jin, Huazhong University of Science and Technology
The increasing complexity of software has led to the steady growth of vulnerabilities. Vulnerability repair investigates how to fix software vulnerabilities. Manual vulnerability repair is labor-intensive and time-consuming because it relies on human experts, highlighting the importance of Automated Vulnerability Repair (AVR). In this SoK, we present the systematization of AVR methods through the three steps of AVR workflow: vulnerability analysis, patch generation, and patch validation. We assess AVR tools for C/C++ and Java programs as they have been widely studied by the community. Since existing AVR tools for C/C++ programs are evaluated with different datasets, which often consist of a few vulnerabilities, we construct the first C/C++ vulnerability repair benchmark dataset, dubbed Vul4C, which contains 144 vulnerabilities as well as their exploits and patches. We use Vul4C to evaluate seven AVR tools for C/C++ programs and use the third-party Vul4J dataset to evaluate two AVR tools for Java programs. We also discuss future research directions.
Open Access Media
USENIX is committed to Open Access to the research presented at our events. Papers and proceedings are freely available to everyone once the event begins. Any video, audio, and/or slides that are posted after the event are also free and open to everyone. Support USENIX and our commitment to Open Access.
author = {Yiwei Hu and Zhen Liu and Kedie Shu and Shenghua Guan and Deqing Zou and Shouhuai Xu and Bin Yuan and Hai Jin},
title = {{SoK}: Automated Vulnerability Repair: Methods, Tools, and Assessments},
booktitle = {34th USENIX Security Symposium (USENIX Security 25)},
year = {2025},
isbn = {978-1-939133-52-6},
address = {Seattle, WA},
pages = {4421--4440},
url = {https://www.usenix.org/conference/usenixsecurity25/presentation/hu-yiwei},
publisher = {USENIX Association},
month = aug
}
