MEGA Hub

VICBench: A Multi-Language Benchmark for Code Vulnerability Detection

Authors

Do you know Jin Lu?You can claim authorship or link another user.Do you know Xuening Han?You can claim authorship or link another user.Do you know Yang Zhong?You can claim authorship or link another user.Do you know Lin Tan?You can claim authorship or link another user.Do you know Kevin Luo?You can claim authorship or link another user.Do you know Andrew Gacek?You can claim authorship or link another user.Do you know Neha Rungta?You can claim authorship or link another user.

Abstract

Evaluating security vulnerability detection tools requires benchmark datasets with vulnerability-inducing commits (VICs) - the commits that first introduce vulnerabilities into codebases. VICs are essential for determining the full range of vulnerable software versions. Existing vulnerability datasets suffer from limited programming language coverage, restricted patch complexity, and narrow project scope. Through our dual annotation by human experts and an agentic workflow, we create a benchmark - VICBench - of 100 verified VICs for 100 CVEs across 88 projects in Python, Java, and C++, covering 48 CWE types. VICBench features complex real-world vulnerability fixes averaging 38.6 lines and corresponding VICs of 252.5 lines - significantly larger than prior work. Our evaluation shows that state-of-the-art algorithms V-SZZ and LLM4SZZ achieve only 33.3%-40.1% F1, confirming that using existing approaches still entails significant manual effort. VICBench enables robust evaluation of vulnerability detection approaches.

Community

00