On Predicting Vulnerability Severity Using In‐Context Learning: An Industrial Case Study
Journal of Software: Evolution and Process · 2026-06 · 38 (6)
DOI: 10.1002/smr.70126 ↗Kurz gefasst
Fachartikel in der Zeitschrift Journal of Software: Evolution and Process, online erschienen am 02.06.2026. Verfasst von Daniel Rodriguez‐Cardenas und 10 weiteren Autor:innen. Die Arbeit nennt 52 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY-NC 4.0).
Abstract (Originalsprache)
Modern software systems require earlier and more scalable vulnerability severity assessment to reduce exposure to high‐impact security flaws. Security analysts typically assign CVSS scores, but this manual triage does not scale with the growth of disclosed vulnerabilities and often depends on cloud LLM services that raise confidentiality concerns. This paper presents an industrial case study on predicting CVSS v3.1 scores directly from vulnerable C/C++ snippets using in‐context learning with locally deployable, open‐source LLMs. We compare Propietary data with the Big‐Vul dataset, showing sufficiently aligned CVSS distributions to justify Big‐Vul as a proxy for industrial data when constructing prompt‐based testbeds. We then vary in‐context configurations and model parameters, evaluating CodeLlama2‐7B , CodeLlama2‐13B , Mistral‐7B , gpt‐oss , and GPT4o‐mini using mean squared error (MSE) and feasibility metrics. Our results show that medium‐sized open‐source code models, particularly CodeLlama2‐7B , can approximate the best cloud performance for CVSS regression when guided by lightweight, output‐constraining prompts, offering a practical, privacy‐preserving building block for severity triage in industrial settings.
Zitieren
APA
Rodriguez‐Cardenas, D., Palacio, D. N., Schmedding, A., Lu, Y., Mallick, A., Hudson, B., Gourley, C., Roytman, M., Shenefiel, C., Smirni, E., & Poshyvanyk, D. (2026). On Predicting Vulnerability Severity Using In‐Context Learning: An Industrial Case Study. Journal of Software: Evolution and Process, 38(6). https://doi.org/10.1002/smr.70126
Vancouver
Rodriguez‐Cardenas D, Palacio DN, Schmedding A, Lu Y, Mallick A, Hudson B, et al. On Predicting Vulnerability Severity Using In‐Context Learning: An Industrial Case Study. Journal of Software: Evolution and Process. 2026;38(6). doi:10.1002/smr.70126
BibTeX
@article{RodriguezCardenas2026,
author = {Rodriguez‐Cardenas, Daniel and Palacio, David N. and Schmedding, Anna and Lu, Yiyang and Mallick, Aadil and Hudson, Bill and Gourley, Chris and Roytman, Michael and Shenefiel, Chris and Smirni, Evgenia and Poshyvanyk, Denys},
title = {On Predicting Vulnerability Severity Using In‐Context Learning: An Industrial Case Study},
journal = {Journal of Software: Evolution and Process},
year = {2026},
volume = {38},
number = {6},
doi = {10.1002/smr.70126}
}
EUVIMED