Code Language Models for Security Patch Management: How Far are We?
IEEE Transactions on Services Computing · 2026-05 · 19 (3) · 1963-1976
DOI: 10.1109/tsc.2026.3690594 ↗Kurz gefasst
Fachartikel in der Zeitschrift IEEE Transactions on Services Computing, 2026-05. Verfasst von Xingwei Lin und 8 weiteren Autor:innen. Die Arbeit nennt 69 Literaturangaben. Gefördert von: R&D Program of Zhejiang, National Natural Science Foundation of China, Natural Science Research Start-up Foundation of Recruiting Talents of Nanjing University of Posts and Telecommunications.
Abstract (Originalsprache)
The rapid expansion of open-source software has also brought significant security challenges to cloud infrastructure, particularly introducing and propagating vulnerabilities. In response, effective security patch management establishes a continuous, structured pipeline by systematically identifying, testing, and deploying security patches to fix vulnerabilities. However, manually managing a large number of security patches (i.e., any update is approved and installed by hand) is time-consuming, leading to a great motivation for automating this process. Although Code Language Models (CodeLMs) have shown potential in various code-centric tasks, there remains an open question as to how well CodeLMs perform within the context of security patch management. To bridge this gap, we performed the first comprehensive empirical study on fine-tuning or prompting nine state-of-the-art CodeLMs for three security-patch-related downstream tasks, including silent patch identification (distinguishing security patches from normal commits), record-patch linking (connecting authoritative vulnerability records, e.g., CVE, to the corresponding fixing commits), and vulnerability description generation (providing a piece of text summarizing the vulnerability fixed by the patch), covering classification, ranking, and generation problems. Our findings reveal that there is no “one-size-fits-all” model that can always perform the best. Furthermore, due to the lack of task-specific knowledge, naively prompting LLMs with the basic strategies is not consistently reliable and may even underperform smaller PTMs. Additionally, existing automated evaluation metrics cannot fully reflect the capability of LLMs in considered tasks. These findings underscore the considerable gap between current capabilities and the practical requirements for deploying CodeLMs in automating security patch management.
Förderung
- R&D Program of Zhejiang
- National Natural Science Foundation of China
- Natural Science Research Start-up Foundation of Recruiting Talents of Nanjing University of Posts and Telecommunications
- Natural Science Foundation of Nanjing University of Posts and Telecommunications
- National Research Foundation
- Investigatorship
Zitieren
APA
Lin, X., Cao, S., Yu, L., Sun, X., Xiao, F., Xue, L., Wu, C., Ren, K., & Lo, D. (2026). Code Language Models for Security Patch Management: How Far are We?. IEEE Transactions on Services Computing, 19(3), 1963-1976. https://doi.org/10.1109/tsc.2026.3690594
Vancouver
Lin X, Cao S, Yu L, Sun X, Xiao F, Xue L, et al. Code Language Models for Security Patch Management: How Far are We?. IEEE Transactions on Services Computing. 2026;19(3):1963-1976. doi:10.1109/tsc.2026.3690594
BibTeX
@article{Lin2026,
author = {Lin, Xingwei and Cao, Sicong and Yu, Le and Sun, Xiaobing and Xiao, Fu and Xue, Lei and Wu, Chunming and Ren, Kui and Lo, David},
title = {Code Language Models for Security Patch Management: How Far are We?},
journal = {IEEE Transactions on Services Computing},
year = {2026},
volume = {19},
number = {3},
pages = {1963--1976},
doi = {10.1109/tsc.2026.3690594}
}
EUVIMED