Detecting Software Security Vulnerabilities Using Test-Data-Driven Machine Learning
Detecting Software Security Vulnerabilities Using Test-Data-Driven Machine Learning
Mehregan Mataee1 Ali Yavari2 Ali Rahimi HosseinAbad3
1) Department of Computer Engineering, Lamei Gorgani Institute of Higher Education, Gorgan, Iran —
2) Department of Computer Engineering, Technical and Vocational University (TVU), Tehran, Iran —
3) Department of Computer Engineering, Technical and Vocational University (TVU), Tehran, Iran —
IOI Code
:
AAHD-ABGBGD
Publication :
National Conference on Information Technology, Nanotechnology, Artificial Intelligence and Technological Futures Studies(itnaf.ir)
Abstract :
Here s the English version of your text:
Software security vulnerabilities pose significant risks to modern applications, often exploited through malicious test inputs that enable attacks such as buffer overflows, SQL injection, or cross-site scripting (XSS). This review paper explores the application of machine learning (ML) techniques for discovering and detecting security vulnerabilities in software test inputs, with a focus on training ML models to identify attack patterns. We conduct a systematic literature review of existing methods and classify them into supervised, unsupervised, and reinforcement learning approaches. Key techniques include fuzz testing enhanced with deep neural networks such as LSTMs and CNNs for anomaly detection, as well as natural language processing models like BERT for input analysis. Based on over 20 peer-reviewed papers from sources such as IEEE Xplore and the ACM Digital Library (published between 2015 and 2025), we compare model performance in terms of accuracy, recall, and F1-score on benchmark datasets such as CWE and NIST. Identified challenges include data scarcity, model overfitting, and ethical considerations in vulnerability disclosure. This review highlights gaps in real-time detection for dynamic environments and suggests future directions such as integrating ML with quantum computing for more robust testing. This work provides a comprehensive foundation for researchers and software engineering practitioners to advance ML-based security testing methods.