- Article
Automated Common Vulnerability Scoring System (CVSS) assessment requires evidence about both exploitation conditions and security impact. However, existing methods primarily rely on vulnerability descriptions or isolated code fragments, making limited use of project-level call relationships and functional context. We propose OERA-CVSS, an occurrence-enriched retrieval-augmented framework for automated CVSS assessment with metric-level probability fusion. OERA-CVSS constructs a structured knowledge base linking CVE records and historical CVSS labels with vulnerability-related code, project-side trigger code, and functional context. For a target occurrence, it retrieves historical cases using complementary description and code representations, then reranks them separately for exploitability- and impact-related metrics. The retrieved cases serve as in-context demonstrations for a large language model to predict the eight CVSS v3.1 Base metrics. These predictions are then fused with class probabilities from a description-based CVSS-BERT model, and the Base Score and severity level are calculated using the official scoring procedure. The dataset contains 804 unique CVEs, with injected occurrence evidence requiring further validation. In stratified CVE-disjoint five-fold cross-validation, probability fusion increases Metric Macro-F1 from 0.5924 to 0.6771, exceeding standalone CVSS-BERT’s 0.6570. Unfused ablations support retrieval gains and Metric Accuracy improvements from reranking. Together, these findings support OERA-CVSS as an effective framework for automated CVSS assessment.
1 December 2026







