CDVD-DPW Cross-Domain Vulnerability Dataset
Year: 2026
Type: dataset
Abstract: CDVD-DPW is a provenance-preserving, function-level C dataset designed for evaluating vulnerability detection under cross-project and cross-vulnerability-type domain shifts with limited labeled data. The cross-project portion covers six real-world C projects—Asterisk, FFmpeg, LibPNG, LibTIFF, Pidgin, and VLC—and is derived from the Function-level Vulnerability Dataset. The cross-CWE portion contains CWE-119 and CWE-399 material originating from the VulDeePecker data repository, together with four commit-derived domains: CWE-125, CWE-787, CWE-416, and CWE-476. For the commit-derived domains, DiverseVul and Big-Vul are used only as indexes of candidate CWE labels, repositories, and vulnerability-fixing commits. The corresponding source code is recovered from the original FFmpeg and Linux repositories. For each fixing commit, its parent revision is checked out to reconstruct the vulnerable program state. Complete C functions intersecting parent-side deleted or modified lines are labeled vulnerable. Other functions from the same modified files that do not intersect the patch are retained as patch-relative non-vulnerable examples; these labels do not claim that the functions have been independently verified as safe. The four commit-derived CWE domains contain 37,399 CWE-membership records, including 1,387 vulnerable and 36,012 patch-relative non-vulnerable records. Exact duplicate source functions are consolidated while retaining all provenance records, resulting in 32,200 globally unique source-code hashes. Each observation preserves its project, CWE, CVE where available, fixing commit, parent revision, source file, function identity, label, and source-code hash. The deposit includes the extracted function-level source files, cross-project and cross-CWE data collections, construction manifests, provenance records, extraction failure logs, schemas, validation reports, and documentation required to audit and reuse the dataset. Source-code fragments remain subject to their respective upstream licenses; depositing this collection does not relicense third-party source code. See LICENSE_AND_ATTRIBUTION.md and the project-specific documentation included in the deposit.
Language: English
Subfield: Information Systems
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7208812128
