Skip to content
Open access

Deep Learning-based Software Vulnerability Severity Prediction Using Natural Language Processing

Jul 2026 · Asian Journal of Research in Computer Science · 0 citations

TL;DR

It is indicated that natural-language descriptions can support automated severity prediction, while also showing that model performance depends on project-specific data characteristics and data availability.

Abstract

Software vulnerability assessment is essential for prioritising remediation, yet the manual assignment of Common Vulnerability Scoring System metrics is time-consuming, subjective, and prone to error. This study develops and evaluates a design science artefact for predicting vulnerability severity directly from natural-language descriptions. More than 15,000 confirmed vulnerability records were collected from ten open-source projects represented in the CVE-NVD repositories. The descriptions were cleaned through punctuation removal, tokenisation, stopword removal, and Porter stemming. Textual features were represented using n-grams, term frequency-inverse document frequency, and Word2Vec, while Information Gain was applied for feature selection. A deep neural network with three hidden layers was developed for binary classification of vulnerabilities as Severe or Non-Severe. Its performance was compared with Random Forest, Support Vector Machine, Decision Tree, k-nearest neighbours, and Naïve Bayes classifiers using stratified 10-fold cross-validation. The deep neural network achieved average accuracy, precision, and recall values of 71.2%, 68.5%, and 72.0%, respectively, and generally outperformed the conventional classifiers across the reported metrics. However, performance varied among projects, with AUC-ROC values ranging from 0.385 for Gentoo to 0.720 for Windows 7, and the Decision Tree exceeded the deep neural network on the Gentoo dataset. These findings indicate that natural-language descriptions can support automated severity prediction, while also showing that model performance depends on project-specific data characteristics and data availability.

Read PDF

Similar papers

Aug 2026

Optimization of software vulnerability detection model based on machine learning algorithm

The machine-learning model proposed in the paper has improved performance (efficiency, accuracy, and false-negative rate) for identifying vulnerabilities compared to conventional methods, and shows much greater flexibility and reliability when analyzing large code bases and different categories of vulnerabilities.

Cong Li, Guo-Wei Zhang · 0 citations
Open access Aug 2026

Enhancing Vulnerability Detection Precision through Ensemble Learning with Large Language Models

The results show that the ensemble techniques are a practical approach to boost the precision of LLMs in the detection of vulnerabilities and suggest that ensemble methods offer great potential in the advancement of software security analysis.

H. Al-Ofeishat, Azhar Hussain, M. Faheem et al. · 0 citations
Open access Jul 2026

Cross-platform software vulnerability detection using Vulnerascope-X with Word2Vec Node2Vec and RCGO optimized SVM

A state-of-the-art methodology that makes use of a unique synthetic dataset called VulneraScope-X, which greatly improve cross-platform defect detection when combined with topological and semantic embeddings is presented.

Vijayamahantesh, A. Ashwitha, E. Naresh et al. · 0 citations
Open access Jul 2026

INTELLIGENT BUG PREDICTION SYSTEM

An intelligent machine learning-based bug prediction framework that uses SMOTE for dataset balancing and feature selection to identify the most relevant software metrics and uses advanced ensemble learning techniques, such as CatBoost, LightGBM, and the Stacking Ensemble model, to improve prediction accuracy.

Bhukya Yashaswini · 0 citations
Jul 2026

A deep learning framework for vulnerability detection in open-source repositories using code embeddings

A deep learning based framework that can be effectively integrate code embeddings including Word2Vec, TF-IDF representations, and handcrafted contextual features to detect vulnerabilities over multiple Common Weakness Enumeration (CWE) classes is proposed.

Nasika Ijaz, Mehwish Naseer, Usman Qamar · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.