From Description to Score: Can LLMs Quantify Vulnerabilities?
About
Manual vulnerability scoring, such as assigning Common Vulnerability Scoring System (CVSS) scores, is a resource-intensive process that is often influenced by subjective interpretation. This study investigates the potential of general-purpose large language models (LLMs), namely ChatGPT, Llama, Grok, DeepSeek, and Gemini, to automate this process by analyzing over 31{,}000 recent Common Vulnerabilities and Exposures (CVE) entries. The results show that LLMs substantially outperform the baseline on certain metrics (e.g., \textit{Availability Impact}), while offering more modest gains on others (e.g., \textit{Attack Complexity}). Moreover, model performance varies across both LLM families and individual CVSS metrics, with ChatGPT-5 attaining the highest precision. Our analysis reveals that LLMs tend to misclassify many of the same CVEs, and ensemble-based meta-classifiers only marginally improve performance. Further examination shows that CVE descriptions often lack critical context or contain ambiguous phrasing, which contributes to systematic misclassifications. These findings underscore the importance of enhancing vulnerability descriptions and incorporating richer contextual details to support more reliable automated reasoning and alleviate the growing backlog of CVEs awaiting triage.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Automated CVSS scoring | CVE 2024 CVSS v3.1 (1,000 CVEs) | CVSS v3.1 Attack Complexity84.19 | 8 | |
| CVSS Base Metric Prediction | CVSS Attack Complexity v3.1 | -- | 6 | |
| CVSS Base Metric Prediction | CVSS Attack Vector v3.1 | -- | 6 | |
| CVSS Base Metric Prediction | CVSS Privileges Required v3.1 | -- | 6 | |
| CVSS Base Metric Prediction | CVSS User Interaction v3.1 | -- | 6 | |
| CVSS Base Metric Prediction | CVSS Scope v3.1 | -- | 6 | |
| CVSS Base Metric Prediction | CVSS Confidentiality Impact v3.1 | -- | 6 | |
| CVSS Base Metric Prediction | CVSS Integrity Impact v3.1 | -- | 6 | |
| CVSS Base Metric Prediction | CVSS Availability Impact v3.1 | -- | 6 | |
| CVSS Base Metric Prediction | CVSS Overall v3.1 | -- | 6 |