arrow
Return

Vulnerability Positioner (VulP): enhancing code vulnerability localization with CodeBERT

delete2026-01-08
delete0
PRE
AI
X
Xuejun Zhang *
Z
Zhuo Chen
F
Fenghe Zhang
S
Shuqin Xu
X
Xiaohong Jia
DOI:10.1007/s00530-025-02106-8delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
The localization of software vulnerabilities is a critical yet underexplored problem, as evidenced by the increasing need to pinpoint specific vulnerable code lines in complex software systems. This challenge necessitates machine learning methods tailored for vulnerability localization. To address this gap, we propose a novel systematic framework for fine-grained vulnerability localization in source code, named Vulnerability Positioner(VulP). The framework integrates syntax, semantics, and vulnerability context information by employing slicing techniques and a fusion layer that highlights vulnerable code regions. Firstly, slice source code based on syntax rules, generating corresponding program slices and intermediate code. Further refine these program slices by slicing the intermediate representation of code. Then, a CodeBERT-based model is designed, incorporating a fusion layer, K-max pooling layer, and average pooling layer. Validation experiments demonstrate that the proposed method surpasses existing approaches in both detection performance and localization precision, confirming the effectiveness of VulP. Additionally, the ablation experiments validate that the additional layers markedly enhance the performance of VulP.
Keywords:
Source Code
Vulnerability Detection
Vulnerability Localization
CodeBERT
MRC-VulLoc: Software source code vulnerability localization based on multi-choice reading comprehension
err2024-06-01
err0
PREAI
errTang, Gaigai; Yang, Lin; Zhang, Long; Kuang, Hongyu; Wang, Huiqiang
errShare
errSave
MDVul: A semantic-based complex dependency code vulnerability detection using fusion path
err2025-07-08
err0
PREAI
errSun Zhequ; Siyu Wang; Ning Lu; Wenbo Shi; Zhiquan Liu
errShare
errSave
Securing Code With Context: Enhancing Vulnerability Detection Through Contextualized Graph Representations
err2024-01-01
err2
errOAAI
errRozi, Muhammad Fakhrur; Ban, Tao; Ozawa, Seiichi; Yamada, Akira; Takahashi, Takeshi; Inoue, Daisuke
errShare
errSave
errShare
errSave
Android Source Code Vulnerability Detection: A Systematic Literature Review
err2023-01-16
err22
errOAAI
errSenanayake, Janaka; Kalutarage, Harsha; Al-Kadri, Mhd Omar; Petrovski, Andrei; Piras, Luca
errShare
errSave
errShare
errSave
Software Vulnerability Detection Using Informed Code Graph Pruning
err2023-01-01
err0
errOAAI
errGear, Joseph; Xu, Yue; Foo, Ernest; Gauravaram, Praveen; Jadidi, Zahra; Simpson, Leonie
errShare
errSave

Journal

Multimedia Systems cover
Multimedia Systems
IF:
3.1
Papers:
2.9K
Citations:
3.8K

Organization

E
electronic and information engineering
Scholars:
0
Papers: 1
Citations: 54
Cited Papers

Cited Papers

VulDeeLocator: A Deep Learning-Based Fine-Grained Vulnerability Detector
err2022-07-01
err87
errOAAI
errLi, Zhen; Zou, Deqing; Xu, Shouhuai; Chen, Zhaoxuan; Zhu, Yawei; Jin, Hai
errShare
errSave
SySeVR: A Framework for Using Deep Learning to Detect Software Vulnerabilities
err2022-07-01
err261
errOAAI
errLi, Zhen; Zou, Deqing; Xu, Shouhuai; Jin, Hai; Zhu, Yawei; Chen, Zhaoxuan
errShare
errSave
LineVD
err2022-10-17
err0
errOAAI
errDavid Hin; Andrey Kan; Huaming Chen; M. Ali Babar
errShare
errSave
errShare
errSave
VulDeePecker: A Deep Learning-Based System for Vulnerability Detection
err2018-01-01
err0
errOAAI
errZhen Li; Deqing Zou; Shouhuai Xu; Xinyu Ou; Hai Jin; Sujuan Wang; Zhijun Deng; Yuyi Zhong
errShare
errSave
researcher View more