arrow
Return

Cross-view subgraph learning for function-level vulnerability detection

delete2026-08-28
delete0
PRE
AI
Z
Zhao Zhang *
S
Senlin Luo
L
Limin Pan
DOI:10.1016/j.jss.2026.113078delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Source code vulnerability detection plays a crucial role in ensuring software security, yet it remains challenging to preserve vulnerability-related dependencies and coordinate structural and semantic evidence. Existing graph-based methods usually encode code property graphs into function-level representations, where dependencies among key code components, such as condition checks, variable propagation, and sensitive operations, may be diluted by weakly relevant statements or branches. Meanwhile, structural and semantic representations may emphasize different evidence for the same function, leading to inconsistent vulnerability-discrimination tendencies and increasing the risk of misclassification. To address these issues, we propose SSCV-VD (Structural-Semantic Cross-View Vulnerability Detection), a cross-view subgraph learning framework for function-level vulnerability detection. To reduce dependency dilution, SSCV-VD constructs local subgraphs around candidate key nodes and weights them using function-level semantic context, thereby emphasizing vulnerability-related structural relations. To alleviate inconsistent predictions between structural and semantic views, SSCV-VD introduces a gated fusion mechanism to adaptively balance graph-based structural and sequence-level semantic representations for each function, and applies a cross-view consistency constraint to reduce their discrepancy in vulnerability-oriented discrimination. Experiments on multiple benchmark datasets show that SSCV-VD achieves the best F1 score under standard within-dataset evaluation settings.

Journal

Journal of Systems and Software cover
Journal of Systems and Software
IF:
4.1
Papers:
5.5K
Citations:
8.4K

Organization

No organization information available
Cited Papers

Cited Papers

Security Vulnerabilities of Internet of Things: A Case Study of the Smart Plug System
err2017-12-01
err131
errOAAI
errLing, Zhen; Luo, Junzhou; Xu, Yiling; Gao, Chao; Wu, Kui; Fu, Xinwen
errShare
errSave
Vulnerability Detection by Learning From Syntax-Based Execution Paths of Code
err2023-08-01
err15
PREAI
errZhang, Junwei; Liu, Zhongxin; Hu, Xing; Xia, Xin; Li, Shanping
errShare
errSave
errShare
errSave
An Empirical Study of High-Risk Vulnerabilities in IoT Systems
err2025-01-15
err0
PREAI
errChen, Xiang; Yang, Changlin; Nan, Yuhong; Zheng, Zibin
errShare
errSave
Enhancing vulnerability detection via AST decomposition and neural sub-tree encoding
err2024-03-01
err6
PREAI
errTian, Zhenzhou; Tian, Binhui; Lv, Jiajun; Chen, Yanping; Chen, Lingwei
errShare
errSave
errShare
errSave
Threat-Specific Security Risk Evaluation in the Cloud
err2021-04-01
err13
PREAI
errNhlabatsi, Armstrong; Hong, Jin B.; Kim, Dong Seong; Fernandez, Rachael; Hussein, Alaa; Fetais, Noora; Khan, Khaled M.
errShare
errSave
ATOM: Commit Message Generation Based on Abstract Syntax Tree and Hybrid Ranking
err2022-05-01
err47
errOAAI
errLiu, Shangqing; Gao, Cuiyun; Chen, Sen; Nie, Lun Yiu; Liu, Yang
errShare
errSave
Source Code Authorship Attribution Using Hybrid Approach of Program Dependence Graph and Deep Learning Model
err2019-01-01
err35
errOAAI
errUllah, Farhan; Wang, Junfeng; Jabbar, Sohail; Al-Turjman, Fadi; Alazab, Mamoun
errShare
errSave
errShare
errSave
researcher View more