Knowledge-Driven Large Language Models for Automating CVSS Score Prediction
In response to the continuous growth of software vulnerabilities, this paper introduces a hybrid artificial intelligence (AI) approach that combines large language models (LLMs) with structured cybersecurity knowledge graphs. Our method guides LLMs through explicit, expert-driven rules to predict Common Vulnerability Scoring System (CVSS) Base metrics directly from vulnerability descriptions. Experiments on five state-of-the-art models, including GPT-4o and DeepSeek, demonstrate significant gains. Our proposed knowledge-infused prompts lead to accuracy improvement in GPT-4o from 59% to over 82%, while the accuracy in the predictions of DeepSeek rose from 48% to 78%. Moreover, we show that this integration boosts cost-efficiency for lighter models. These results highlight the practical value of merging symbolic knowledge with LLM reasoning to achieve faster, more consistent, and interpretable vulnerability assessments.
Authors
- Reza Shahbazian (ORCID: https://orcid.org/0000-0002-2313-6002)
- Andrea Pugliese (ORCID: https://orcid.org/0000-0003-4385-958X)
- Seyedeh Leili Mirtaheri (ORCID: https://orcid.org/0000-0002-0744-5876)
- AmirHossein Majd (ORCID: https://orcid.org/0009-0007-4101-2218)
Institutions
- University of Calabria (IT)
- University of Palermo (IT)
Publication Details
- Published
- 2025-10-13
- DOI
- https://doi.org/10.1145/3733817.3762699
- Primary Topic
- Information and Cyber Security
- Type
- article
- Field-Weighted Citation Impact
- 0.00