Dataset Viewer
Auto-converted to Parquet Duplicate
sample_id
stringlengths
64
64
language_detail
stringclasses
209 values
granularity
stringclasses
2 values
code
stringlengths
10
484k
code_normalized_hash
stringlengths
64
64
code_sha256
stringlengths
64
64
near_dup_cluster_id
stringlengths
64
64
near_dup_cluster_size
int32
1
4.03k
is_cluster_representative
bool
2 classes
near_dup_of_test
bool
2 classes
project
stringlengths
2
57
⌀
repo_url
stringlengths
24
76
⌀
commit_sha
stringlengths
6
81
⌀
commit_date
stringdate
1999-11-10 00:00:00
2026-06-02 00:00:00
⌀
date_source
stringclasses
2 values
file_path
stringlengths
2
227
⌀
func_name
stringlengths
0
837
⌀
start_line
int32
1
125k
⌀
end_line
int32
1
125k
⌀
is_vulnerable
bool
2 classes
vuln_lines
listlengths
0
125
pair_id
stringlengths
32
32
⌀
pair_role
stringclasses
3 values
cve_ids
listlengths
0
817
cwe_ids
listlengths
0
78
cve_link_source
stringclasses
2 values
cwe_link_source
stringclasses
2 values
label_source
stringclasses
4 values
label_confidence
float32
0.05
0.97
label_conflict
bool
2 classes
confidence_notes
stringclasses
130 values
cleanvul_score
int32
0
4
⌀
origins
listlengths
1
11.7k
n_origins
int64
1
11.7k
n_datasets
int64
1
9
primary_source
stringclasses
7 values
source_license
stringclasses
7 values
split
stringclasses
1 value
split_strategy
stringclasses
5 values
source_extra
stringlengths
18
203
⌀
738c696d66f30cbc42ad05ef85194eeed7e11088b02648c0c044e1d033969ba4
cpp
function
inline unsigned int get_lookup_count (void) const { return (this+lookupList).len; }
738c696d66f30cbc42ad05ef85194eeed7e11088b02648c0c044e1d033969ba4
9e6c7ae8d16da57ac66daa19812c3a327a6b4c92fa9d121fbc881804ee74ae1f
738c696d66f30cbc42ad05ef85194eeed7e11088b02648c0c044e1d033969ba4
1
true
false
harfbuzz/harfbuzz
https://github.com/harfbuzz/harfbuzz
c917965b9e6fe2b21ed6c51559673288fa3af4b7
2018-11-15
cve_published
hb-ot-layout-gsubgpos-private.hh
get_lookup_count
2,264
2,265
false
[]
null
unrelated_in_commit
[ "CVE-2015-9274" ]
[ "CWE-125" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_1877_2::get_lookup_count#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/harfbuzz/harfbuzz/commit/c917965b9e6fe2b21ed6c51559673288fa3af4b7", "changed_units_in_commit": 17}
c39a8fcaa7535c6517131215edd40537419c600d8aa395577cf6818ca1cccd1f
cpp
function
inline bool would_apply (hb_would_apply_context_t *c) const { TRACE_WOULD_APPLY (this); const ClassDef &backtrack_class_def = this+backtrackClassDef; const ClassDef &input_class_def = this+inputClassDef; const ClassDef &lookahead_class_def = this+lookaheadClassDef; unsigned int index = input_cla...
c39a8fcaa7535c6517131215edd40537419c600d8aa395577cf6818ca1cccd1f
59a982c4f70ed1359304b2b7376c07c3151fbc4a28a49da6d4a34ef4f4b5ca2c
c39a8fcaa7535c6517131215edd40537419c600d8aa395577cf6818ca1cccd1f
1
true
false
harfbuzz/harfbuzz
https://github.com/harfbuzz/harfbuzz
c917965b9e6fe2b21ed6c51559673288fa3af4b7
2018-11-15
cve_published
hb-ot-layout-gsubgpos-private.hh
would_apply
1,926
1,943
false
[]
null
unrelated_in_commit
[ "CVE-2015-9274" ]
[ "CWE-125" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_1877_2::would_apply#8", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/harfbuzz/harfbuzz/commit/c917965b9e6fe2b21ed6c51559673288fa3af4b7", "changed_units_in_commit": 17}
66a6992b59d9e67dd84382d7a0362e63bc96d2c21fe79e088b6e07ba6b41b9ca
c
function
static const char * next_option(const char *list, struct vec *val, struct vec *eq_val) { int end; reparse: if (val == NULL || list == NULL || *list == '\0') { /* End of the list */ return NULL; } /* Skip over leading LWS */ while (*list == ' ' || *list == '\t') list++; val->ptr = list; if ((list = strch...
66a6992b59d9e67dd84382d7a0362e63bc96d2c21fe79e088b6e07ba6b41b9ca
eab5e428ed462626c39f5668311dd2afaa9e957b193c9e075de83171e8a83fb9
66a6992b59d9e67dd84382d7a0362e63bc96d2c21fe79e088b6e07ba6b41b9ca
1
true
false
civetweb/civetweb
https://github.com/civetweb/civetweb
8fd069f6dedb064339f1091069ac96f3f8bdb552
2018-06-22
cve_published
civetweb.c
next_option
4,009
4,059
false
[]
null
unrelated_in_commit
[ "CVE-2018-12684" ]
[ "CWE-125", "CWE-200" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_203_0::next_option#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/civetweb/civetweb/commit/8fd069f6dedb064339f1091069ac96f3f8bdb552", "changed_units_in_commit": 1}
5bbaa3a5ed267bcd55449e822ae588ff1cecf88ff4ca139b32deb699cba85602
c_or_cpp
function
static void filename_compute_type(struct policydb *p, struct context *newcontext, u32 stype, u32 ttype, u16 tclass, const char *objname) { struct filename_trans ft; struct filename_trans_datum *otype; /* * Most filename trans rules are going to live in specific directories * like /dev or /var/run. ...
5bbaa3a5ed267bcd55449e822ae588ff1cecf88ff4ca139b32deb699cba85602
bdae6ffae6a6d378b3d633ae570ce0c5a4d62ace55418e238eb413fdf5053f48
5bbaa3a5ed267bcd55449e822ae588ff1cecf88ff4ca139b32deb699cba85602
2
true
false
linux
https://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git
2172fa709ab32ca60e86179dc67d0857be8e2c98
2014-02-28
cve_published
null
null
null
null
false
[]
null
unrelated_in_commit
[ "CVE-2014-1874" ]
[ "CWE-20" ]
hub_fix_commit
source
prime_vul
0.75
false
+0.05 agreement of 5 datasets
null
[ { "dataset": "bigvul_msr20", "original_id": "row:39255", "original_label": "0", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_2080_0::filename_compute_type#0", ...
5
5
primevul
MIT (PrimeVul, Ding et al. ICSE'25)
train
primevul_official
{"primevul_hash": 260668267155483024478328099031902788874, "big_vul_idx": 39255}
04670c93a29a5ac9d519ae8773a8f52576d870eb5d57a0379ecc41312bbe07c2
c
function
void nfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg, struct nfs_commit_info *cinfo) { }
04670c93a29a5ac9d519ae8773a8f52576d870eb5d57a0379ecc41312bbe07c2
9b345c484e9a75c4e4cf841be178a779f977dd78ef0f32684bd48989e3ca8e31
04670c93a29a5ac9d519ae8773a8f52576d870eb5d57a0379ecc41312bbe07c2
2
false
false
torvalds/linux
https://github.com/torvalds/linux
263b4509ec4d47e0da3e753f85a39ea12d1eff24
2014-02-28
cve_published
write.c
nfs_mark_request_commit
605
609
false
[]
null
unrelated_in_commit
[ "CVE-2014-2038" ]
[ "CWE-20", "CWE-200" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_2089_0::nfs_mark_request_commit#1", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/torvalds/linux/commit/263b4509ec4d47e0da3e753f85a39ea12d1eff24", "changed_units_in_commit": 1}
619939a22b405874507edcd713ae6d8d4ac6172cecc7658c08e0953e382561d5
c_or_cpp
function
static bool nested_vmx_exit_handled_io(struct kvm_vcpu *vcpu, struct vmcs12 *vmcs12) { unsigned long exit_qualification; gpa_t bitmap, last_bitmap; unsigned int port; int size; u8 b; if (!nested_cpu_has(vmcs12, CPU_BASED_USE_IO_BITMAPS)) return nested_cpu_has(vmcs12, CPU_BASED_UNCOND_IO_EXITING); ...
619939a22b405874507edcd713ae6d8d4ac6172cecc7658c08e0953e382561d5
5615aaf546c358c0f910e65d11ebd960be7fab23d4d3d9d8c829faace8e7b7c0
4bfdd8e5529c0bbf20d9f6713c17d81be7103cd3d1e9cc1c8504083cab922e2e
2
true
false
kvm
null
c73f4c998e1fd4249b9edfa39e23f4fda2b9b041
null
null
null
null
null
null
false
[]
null
unrelated_in_commit
[ "CVE-2015-5307", "CVE-2016-4440", "CVE-2016-9588", "CVE-2017-1000252", "CVE-2017-12154", "CVE-2018-12904" ]
[ "CWE-20", "CWE-264", "CWE-284", "CWE-388", "CWE-399", "CWE-617" ]
null
null
prime_vul
0.75
false
+0.05 agreement of 5 datasets
null
[ { "dataset": "bigvul_msr20", "original_id": "row:42705", "original_label": "0", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_1675_2::nested_vmx_exit_handled_io#0"...
11
5
primevul
MIT (PrimeVul, Ding et al. ICSE'25)
train
primevul_official
{"primevul_hash": 40704934706286325070430843420529788971, "big_vul_idx": null}
3652075514ce5931092a4f1cc27b5e7038c02c2235f8c1b6178cd6bea5f6092f
c_or_cpp
function
static __le16 ieee80211_duration(struct ieee80211_tx_data *tx, struct sk_buff *skb, int group_addr, int next_frag_len) { int rate, mrate, erp, dur, i, shift = 0; struct ieee80211_rate *txrate; struct ieee80211_local *local = tx->local; struct ieee80211_supported_band *sband; struct ieee80211_hdr *hdr; s...
3652075514ce5931092a4f1cc27b5e7038c02c2235f8c1b6178cd6bea5f6092f
7589b075ce18e42681a4ecc274df9af55862b9eb04d6600304d2e6a13e37d3f6
3652075514ce5931092a4f1cc27b5e7038c02c2235f8c1b6178cd6bea5f6092f
2
true
false
linux
https://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git
338f977f4eb441e69bb9a46eaa0ac715c931a67f
2014-11-10
cve_published
null
null
null
null
false
[]
null
unrelated_in_commit
[ "CVE-2014-2706", "CVE-2014-8709" ]
[ "CWE-200", "CWE-362" ]
hub_fix_commit
source
prime_vul
0.75
false
+0.05 agreement of 5 datasets
null
[ { "dataset": "bigvul_msr20", "original_id": "row:35463", "original_label": "0", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_2116_2::ieee80211_duration#0", "o...
6
5
primevul
MIT (PrimeVul, Ding et al. ICSE'25)
train
primevul_official
{"primevul_hash": 309328237907511625743766044186435764685, "big_vul_idx": 35463}
1cbb9aa1df541ab5182cd5b771e304c3bba8198907608af8c0137c4e2c1e6bdf
c
function
static void xfs_inode_buf_read_verify( struct xfs_buf *bp) { xfs_inode_buf_verify(bp, false); }
1cbb9aa1df541ab5182cd5b771e304c3bba8198907608af8c0137c4e2c1e6bdf
701821fc920b127e4499b3893b2d3b1727d31ec80a69a3691bd9ad8aa67f697f
1cbb9aa1df541ab5182cd5b771e304c3bba8198907608af8c0137c4e2c1e6bdf
1
true
false
torvalds/linux
https://github.com/torvalds/linux
23fcb3340d033d9f081e21e6c12c2db7eaa541d3
2018-07-03
cve_published
xfs_inode_buf.c
xfs_inode_buf_read_verify
127
132
false
[]
null
unrelated_in_commit
[ "CVE-2018-13095" ]
[ "CWE-476", "CWE-787" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_214_1::xfs_inode_buf_read_verify#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/torvalds/linux/commit/23fcb3340d033d9f081e21e6c12c2db7eaa541d3", "changed_units_in_commit": 2}
e5a9a33f93d3972aab400323d4243b56b0166a9390fd045cc1f7e46ca7c45aa3
c
function
void xfs_inode_to_disk( struct xfs_inode *ip, struct xfs_dinode *to, xfs_lsn_t lsn) { struct xfs_icdinode *from = &ip->i_d; struct inode *inode = VFS_I(ip); to->di_magic = cpu_to_be16(XFS_DINODE_MAGIC); to->di_onlink = 0; to->di_version = from->di_version; to->di_format = from->di_format; to->di_uid = cpu...
e5a9a33f93d3972aab400323d4243b56b0166a9390fd045cc1f7e46ca7c45aa3
8627dc6ad18a6ef4f68d8354d71cdd136d36d9b063bfdb509375772578226c4d
97801e1cba68e72b97ac371ea640ea0df3c36ae4f7f098ef919cdd8a0d8d74a3
2
true
false
torvalds/linux
https://github.com/torvalds/linux
23fcb3340d033d9f081e21e6c12c2db7eaa541d3
2018-07-03
cve_published
xfs_inode_buf.c
xfs_inode_to_disk
268
323
false
[]
null
unrelated_in_commit
[ "CVE-2018-13095" ]
[ "CWE-476", "CWE-787" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_214_1::xfs_inode_to_disk#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/torvalds/linux/commit/23fcb3340d033d9f081e21e6c12c2db7eaa541d3", "changed_units_in_commit": 2}
26182fa845d39f1764e702d98d25e67f31096b951d84214b853a400e67eeaf71
c
function
static int vc1_decode_intra_block(VC1Context *v, int16_t block[64], int n, int coded, int mquant, int codingset) { GetBitContext *gb = &v->s.gb; MpegEncContext *s = &v->s; int dc_pred_dir = 0; /* Direction of the DC prediction used */ int i; int16_t *dc_val = NULL; ...
26182fa845d39f1764e702d98d25e67f31096b951d84214b853a400e67eeaf71
4696b256ab867871a07449be1d6f596544cfd7f91a31db49f1353b3a0237164f
26182fa845d39f1764e702d98d25e67f31096b951d84214b853a400e67eeaf71
1
true
false
ffmpeg/ffmpeg
https://github.com/FFmpeg/FFmpeg
d08d4a8c7387e758d439b0592782e4cfa2b4d6a4
2018-07-05
cve_published
vc1_block.c
vc1_decode_intra_block
905
1,110
false
[]
null
unrelated_in_commit
[ "CVE-2018-13305" ]
[ "CWE-125" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_220_0::vc1_decode_intra_block#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/FFmpeg/FFmpeg/commit/d08d4a8c7387e758d439b0592782e4cfa2b4d6a4", "changed_units_in_commit": 0}
aa6ddccf7b0e575db67cc54c6dc27b78bda36b35e77e64e8b2aa62224c6b1f82
c_or_cpp
function
int dtls1_is_timer_expired(SSL *s) { struct timeval timeleft; /* Get time left until timeout, return false if no timer running */ if (dtls1_get_timeout(s, &timeleft) == NULL) { return 0; } /* Return false if timer is not expired yet */ if (timeleft.tv_sec > 0 || timeleft.tv_usec > 0) {...
aa6ddccf7b0e575db67cc54c6dc27b78bda36b35e77e64e8b2aa62224c6b1f82
e2637fc7fec58832a6adced8596b4cdfd121b586f6f8df4fc617ea4cf5b8bcef
aa6ddccf7b0e575db67cc54c6dc27b78bda36b35e77e64e8b2aa62224c6b1f82
2
true
true
openssl
https://git.openssl.org/?p=openssl.git
819418110b6fff4a7b96f01a5d68f71df3e3b736
2015-03-19
cve_published
null
null
null
null
false
[]
null
unrelated_in_commit
[ "CVE-2014-8176", "CVE-2015-0207" ]
[ "CWE-119" ]
hub_fix_commit
null
prime_vul
0.75
false
+0.05 agreement of 5 datasets
null
[ { "dataset": "bigvul_msr20", "original_id": "row:46112", "original_label": "0", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "bigvul_msr20", "original_id": "row:6496", "original_label": "0", ...
7
5
primevul
MIT (PrimeVul, Ding et al. ICSE'25)
train
primevul_official
{"primevul_hash": 181332459036851394206798146248704297263, "big_vul_idx": 6496}
8800927553967a3e54aff6a2aba9efe76688c793354f6baf66f8565d9c2c368a
c_or_cpp
function
static int MP4_ReadBox_tsel( stream_t *p_stream, MP4_Box_t *p_box ) { MP4_READBOX_ENTER( MP4_Box_data_tsel_t ); uint32_t i_version; MP4_GET4BYTES( i_version ); if ( i_version != 0 || i_read < 4 ) MP4_READBOX_EXIT( 0 ); MP4_GET4BYTES( p_box->data.p_tsel->i_switch_group ); /* ignore list o...
8800927553967a3e54aff6a2aba9efe76688c793354f6baf66f8565d9c2c368a
05098dec8ac9fabb937640a0514d6306e1473d132cd5bb5b0d01ffa8da78cefd
8800927553967a3e54aff6a2aba9efe76688c793354f6baf66f8565d9c2c368a
1
true
false
vlc
https://github.com/videolan/vlc
2e7c7091a61aa5d07e7997b393d821e91f593c39
2020-01-24
cve_published
null
null
null
null
false
[]
null
unrelated_in_commit
[ "CVE-2014-9626", "CVE-2014-9627", "CVE-2014-9628" ]
[ "CWE-120", "CWE-191", "CWE-704", "CWE-787" ]
hub_fix_commit
hub_cve
prime_vul
0.75
false
+0.05 agreement of 4 datasets
null
[ { "dataset": "crossvul_2.0", "original_id": "good_2395_0::MP4_ReadBox_tsel#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "diversevul_20230702", "original_id": "...
4
4
primevul
MIT (PrimeVul, Ding et al. ICSE'25)
train
primevul_official
{"primevul_hash": 118760230036196269275872640685288442472, "big_vul_idx": null}
b3c4de09856a6d0e48109267296d12ed460376cb826b0276c4d315b19e333420
c_or_cpp_header
function
static void setup_environment (int argc, char **argv, int *argc_out, char ***argv_out, char ***argv_free, char **env_free) { int n, i, i0; char *p, *v = getenv("XDELTA"); if (v == NULL) { (*argc_out) = argc; (*argv_out) = argv; (*argv_free) = NULL; (*env_free) = NULL; ...
b3c4de09856a6d0e48109267296d12ed460376cb826b0276c4d315b19e333420
2553bb186513885a05faaaad2d07ed62dd74cab38a423c10b4006b1f9c61a6b7
012a55fd141493dad4823bea5254dfe193ed69f59f512ba832c08cc48df25b91
2
false
false
jmacd/xdelta-devel
https://github.com/jmacd/xdelta-devel
ef93ff74203e030073b898c05e8b4860b5d09ef2
2016-04-19
cve_published
xdelta3-main.h
setup_environment
3,498
3,552
false
[]
null
unrelated_in_commit
[ "CVE-2014-9765" ]
[ "CWE-119" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_2419_0::setup_environment#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2", "changed_units_in_commit": 1}
7adfcfcb757ddd15a6e881b948e3bb424c3e995066f4a6828affe01ac304a3be
c_or_cpp
function
static void print_constraints(struct regulator_dev *rdev) { struct regulation_constraints *constraints = rdev->constraints; char buf[80] = ""; int count = 0; int ret; if (constraints->min_uV && constraints->max_uV) { if (constraints->min_uV == constraints->max_uV) count += sprintf(buf + count, "%d mV ", ...
7adfcfcb757ddd15a6e881b948e3bb424c3e995066f4a6828affe01ac304a3be
275ae4fb388a7db49ee42b1a490691b1343dd2e0b9f15620e172f08654250e6f
7adfcfcb757ddd15a6e881b948e3bb424c3e995066f4a6828affe01ac304a3be
1
true
false
linux
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux
60a2362f769cf549dc466134efe71c8bf9fbaaba
2017-05-02
cve_published
null
null
null
null
false
[]
null
unrelated_in_commit
[ "CVE-2014-9940" ]
[ "CWE-416" ]
hub_fix_commit
source
prime_vul
0.75
false
+0.05 agreement of 4 datasets
null
[ { "dataset": "bigvul_msr20", "original_id": "row:74472", "original_label": "0", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_2440_0::print_constraints#0", "or...
4
4
primevul
MIT (PrimeVul, Ding et al. ICSE'25)
train
primevul_official
{"primevul_hash": 149302012059643897747796932481865903632, "big_vul_idx": 74472}
b2b8ff806bc4f85cba9af105a617fbeca2ddc1d6f2ea4ec6d0615b43b1193a17
c
function
RsvgNode * rsvg_new_filter_primitive_image (const char *element_name, RsvgNode *parent) { RsvgFilterPrimitiveImage *filter; filter = g_new0 (RsvgFilterPrimitiveImage, 1); filter->super.in = g_string_new ("none"); filter->super.result = g_string_new ("none"); filter->super.render = rsvg_filter_primi...
b2b8ff806bc4f85cba9af105a617fbeca2ddc1d6f2ea4ec6d0615b43b1193a17
f73d03866a31a5e0940ed0a5777d20f62defa1f6a7ad160db310f610e6de2826
b2b8ff806bc4f85cba9af105a617fbeca2ddc1d6f2ea4ec6d0615b43b1193a17
2
false
false
gnome/librsvg
https://github.com/GNOME/librsvg
ecf9267a24b2c3c0cd211dbdfa9ef2232511972a
2017-07-19
cve_published
rsvg-filter.c
rsvg_new_filter_primitive_image
4,079
4,097
false
[]
null
unrelated_in_commit
[ "CVE-2017-11464" ]
[ "CWE-369" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_2580_0::rsvg_new_filter_primitive_image#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/GNOME/librsvg/commit/ecf9267a24b2c3c0cd211dbdfa9ef2232511972a", "changed_units_in_commit": 2}
5c5f03d348634f15fc222b30da6e12c9359436d41eca835334e548bc77412d8c
c
function
void vrrp_print(netdissect_options *ndo, register const u_char *bp, register u_int len, register const u_char *bp2, int ttl) { int version, type, auth_type = VRRP_AUTH_NONE; /* keep compiler happy */ const char *type_s; ND_TCHECK(bp[0]); version = (bp[0] & 0xf0) >> 4; type = bp[0] & 0x0f; t...
5c5f03d348634f15fc222b30da6e12c9359436d41eca835334e548bc77412d8c
2a97951a2b9a51ded9b0929984c6cdbd5bff66f71281818b1b5a0de8dd7670a7
1ee1082efdb46b05f5d15bb1ff90840bff90628b15dc59c25026e932ae1d2752
5
false
false
the-tcpdump-group/tcpdump
https://github.com/the-tcpdump-group/tcpdump
3de07c772166b7e8e8bb4b9d1d078f1d901b570b
2019-10-03
cve_published
print-vrrp.c
vrrp_print
105
185
false
[]
1086ce2cd70f7b262eb9c6a8a3cd486e
fix
[ "CVE-2018-14463" ]
[ "CWE-125" ]
source
source
nvd_patch_commit
0.6
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_261_0::vrrp_print#0", "original_label": "good", "label_source": "nvd_patch_commit", "label_confidence": 0.6000000238418579, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/the-tcpdump-group/tcpdump/commit/3de07c772166b7e8e8bb4b9d1d078f1d901b570b", "changed_units_in_commit": 4}
28639bf17385da893689bf9665224484c6842e51c26a4eff4359f1e1edea496f
c
function
static void prot_print(netdissect_options *ndo, register const u_char *bp, int length) { unsigned long i; int pt_op; if (length <= (int)sizeof(struct rx_header)) return; if (ndo->ndo_snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { goto trunc; } /* * Print out the afs c...
28639bf17385da893689bf9665224484c6842e51c26a4eff4359f1e1edea496f
d42e67b103990c2bfd2ea86e29bedc48d049b090d9dbe8d09707762097d119f7
28639bf17385da893689bf9665224484c6842e51c26a4eff4359f1e1edea496f
2
false
false
the-tcpdump-group/tcpdump
https://github.com/the-tcpdump-group/tcpdump
c24922e692a52121e853a84ead6b9337f4c08a94
2019-10-03
cve_published
print-rx.c
prot_print
1,354
1,492
false
[]
null
unrelated_in_commit
[ "CVE-2017-13049", "CVE-2018-14466" ]
[ "CWE-125" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_264_0::prot_print#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_2725_0::p...
2
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/the-tcpdump-group/tcpdump/commit/c24922e692a52121e853a84ead6b9337f4c08a94", "changed_units_in_commit": 5}
7f60ce6f68f1dbdbec436fb31b83e83cc1c6e320c77f1c4f661cc55519920d57
c
function
int unaligned_memcmp(const void *p, const void *q, size_t l) { return (memcmp(p, q, l)); }
7f60ce6f68f1dbdbec436fb31b83e83cc1c6e320c77f1c4f661cc55519920d57
8f507a3a5be910cb14cba76c8d83c9ba96ea2e85aaf8440dd44fbc0a511f7a3f
7f60ce6f68f1dbdbec436fb31b83e83cc1c6e320c77f1c4f661cc55519920d57
2
false
false
the-tcpdump-group/tcpdump
https://github.com/the-tcpdump-group/tcpdump
9f0730bee3eb65d07b49fd468bc2f269173352fe
2017-09-14
cve_published
util-print.c
unaligned_memcmp
947
951
false
[]
null
unrelated_in_commit
[ "CVE-2017-13011" ]
[ "CWE-119" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_2686_3::unaligned_memcmp#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/the-tcpdump-group/tcpdump/commit/9f0730bee3eb65d07b49fd468bc2f269173352fe", "changed_units_in_commit": 4}
ce0f59529b17f12511ac5b5e733669b733696ec8ea0d14da97e7e67866ceb9ab
c
function
static void activation_mountable_started (NautilusFile *file, GFile *gfile_of_file, GError *error, gpointer callback_data) { ActivateParameters *parameters = callback_data; LaunchLocation *location; ...
ce0f59529b17f12511ac5b5e733669b733696ec8ea0d14da97e7e67866ceb9ab
97c4b7a6f2a107116e6a5f6a869bbf9c6208293f88f8d8ebe851b5c6f5fa6f0f
0e02506068be4ea6f14c6fd3c9e3efd0f549265b7c6c561be605cb4193b7f2ab
3
false
false
gnome/nautilus
https://github.com/GNOME/nautilus
1630f53481f445ada0a455e9979236d31a8d3bb0
2017-09-20
cve_published
nautilus-mime-actions.c
activation_mountable_started
2,333
2,390
false
[]
null
unrelated_in_commit
[ "CVE-2017-14604" ]
[ "CWE-20" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_2802_5::activation_mountable_started#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/GNOME/nautilus/commit/1630f53481f445ada0a455e9979236d31a8d3bb0", "changed_units_in_commit": 14}
c9ab2c45b6efdcf092c03a86d83ff21519b392996d2cf88f9f1a77a64d65b3fa
c_or_cpp
function
ushort CLASS get2() { uchar str[2] = { 0xff,0xff }; fread (str, 1, 2, ifp); return sget2(str); }
c9ab2c45b6efdcf092c03a86d83ff21519b392996d2cf88f9f1a77a64d65b3fa
e70685f99101e640cf73dbe9dd16859fac90a040daa8b300fa23072dbe739bad
1b4f13e9811cc08b70598edb4cbf6b6773b23d1b0d89081ec69da0632f4a4e9a
3
false
false
rawstudio
https://github.com/rawstudio/rawstudio
983bda1f0fa5fa86884381208274198a620f006e
2015-05-19
cve_published
null
null
null
null
false
[]
null
unrelated_in_commit
[ "CVE-2013-1439", "CVE-2015-3885", "CVE-2017-14608", "CVE-2018-5800", "CVE-2018-5801", "CVE-2018-5802", "CVE-2018-5804", "CVE-2018-5805", "CVE-2018-5806", "CVE-2018-5807", "CVE-2018-5808", "CVE-2018-5809", "CVE-2018-5810", "CVE-2018-5811", "CVE-2018-5812", "CVE-2018-5815", "CVE-2018-5...
[ "CWE-119", "CWE-125", "CWE-189", "CWE-190", "CWE-193", "CWE-369", "CWE-476", "CWE-703", "CWE-704", "CWE-787" ]
hub_fix_commit
source
prime_vul
0.75
false
+0.05 agreement of 5 datasets
null
[ { "dataset": "bigvul_msr20", "original_id": "row:43282", "original_label": "0", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_1605_2::get2#0", "original_label"...
21
5
primevul
MIT (PrimeVul, Ding et al. ICSE'25)
train
primevul_official
{"primevul_hash": 107825992608556380520823495526620606170, "big_vul_idx": 43282}
d828fb85c9723dcbaff55e1be5828b374b7409431ed9faf256bbca4c6771c823
c
function
ushort CLASS sget2(uchar *s) { if (order == 0x4949) /* "II" means little-endian */ return s[0] | s[1] << 8; else /* "MM" means big-endian */ return s[0] << 8 | s[1]; }
d828fb85c9723dcbaff55e1be5828b374b7409431ed9faf256bbca4c6771c823
8297f8acf72152a4d887c9d5b70a8b497cb317281de8d417a1023b2b2a48e6d2
71cea11a65c94c41c7491c0fe65f5672a94d4cf0818f6990462be0fee9f1be62
2
false
false
libraw/libraw
https://github.com/LibRaw/LibRaw
f1394822a0152ceed77815eafa5cac4e8baab10a
2018-12-07
cve_published
dcraw.c
sget2
434
440
false
[]
null
unrelated_in_commit
[ "CVE-2017-16909", "CVE-2017-16910", "CVE-2017-6886", "CVE-2017-6887", "CVE-2018-10529", "CVE-2018-5800", "CVE-2018-5801", "CVE-2018-5813" ]
[ "CWE-119", "CWE-125", "CWE-193", "CWE-476", "CWE-787", "CWE-835" ]
source
source
nvd_patch_commit
0.55
false
+0.05 agreement of 3 datasets
null
[ { "dataset": "crossvul_2.0", "original_id": "good_2945_0::sget2#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_2945_1::sget2...
16
3
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/LibRaw/LibRaw/commit/f1394822a0152ceed77815eafa5cac4e8baab10a", "changed_units_in_commit": 4}
34517997f8eae02b8b4ce1e7a6323450128ebe2f4393718f43dc165f1616e1e6
c
function
static void __init i8042_register_ports(void) { int i; for (i = 0; i < I8042_NUM_PORTS; i++) { struct serio *serio = i8042_ports[i].serio; if (serio) { printk(KERN_INFO "serio: %s at %#lx,%#lx irq %d\n", serio->name, (unsigned long) I8042_DATA_REG, (unsigned long) I8042_COMMAND_REG, i8042_por...
34517997f8eae02b8b4ce1e7a6323450128ebe2f4393718f43dc165f1616e1e6
2da82bb2ab7ebe66e1f73ea23d3fafe6773804f9a096ce5a58e212911ef6fae8
0d26ca821d0b684b3008210dad16bd799b00902b7f9b121305f466e9cc48da4b
2
true
false
torvalds/linux
https://github.com/torvalds/linux
340d394a789518018f834ff70f7534fc463d3226
2018-01-29
cve_published
i8042.c
i8042_register_ports
1,388
1,405
false
[]
null
unrelated_in_commit
[ "CVE-2017-18079" ]
[ "CWE-476" ]
source
source
nvd_patch_commit
0.55
false
+0.05 agreement of 2 datasets
null
[ { "dataset": "crossvul_2.0", "original_id": "good_3000_0::i8042_register_ports#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "diversevul_20230702", "original_id...
2
2
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/torvalds/linux/commit/340d394a789518018f834ff70f7534fc463d3226", "changed_units_in_commit": 3}
21de4244cdcea79cfa56caefd50d2d34d18694414825fab3f8336fc1ea52530d
c_or_cpp
function
static inline struct f2fs_sb_info *F2FS_P_SB(struct page *page) { return F2FS_M_SB(page->mapping); }
21de4244cdcea79cfa56caefd50d2d34d18694414825fab3f8336fc1ea52530d
43a858d474bca232b7de11ce834da384692a92fa865effa05369999bfa94ccd7
21de4244cdcea79cfa56caefd50d2d34d18694414825fab3f8336fc1ea52530d
1
true
false
linux
https://github.com/torvalds/linux
4969c06a0d83c9c3dc50b8efcdc8eeedfce896f6
2019-12-17
cve_published
null
null
null
null
true
[]
cfc2667f0dfcaf6b9c9f7df08521be24
vuln
[ "CVE-2017-18200", "CVE-2019-19815" ]
[ "CWE-20", "CWE-476" ]
hub_fix_commit
hub_cve
prime_vul
0.65
true
conflict: winner 0.9 vs loser 0.5 -> conf = win - 0.5*lose
null
[ { "dataset": "crossvul_2.0", "original_id": "bad_1317_1::F2FS_P_SB#0", "original_label": "bad", "label_source": "nvd_patch_commit", "label_confidence": 0.6499999761581421, "is_vulnerable": true, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_3012_0:...
6
5
primevul
MIT (PrimeVul, Ding et al. ICSE'25)
train
primevul_official
{"primevul_hash": 215750456112149584069106821456675539791, "big_vul_idx": null}
59c4411c5c8d84a12f74c9bed4da0c36f9b188509dce5ad9f30b0499c679b062
c
function
static gid_t add_supp_group(const char *name, gid_t **groups, size_t *ngroups) { struct group *gr; if (*ngroups >= NGROUPS_MAX) errx(EXIT_FAILURE, P_("specifying more than %d supplemental group is not possible", "specifying more than %d supplemental groups is not possible", NGROUPS_MAX - 1), NGROUPS...
59c4411c5c8d84a12f74c9bed4da0c36f9b188509dce5ad9f30b0499c679b062
71f6499eaeab85636c5fd2e8783cf077e2bd6abb8c5c05722785b8acdb90da9c
59c4411c5c8d84a12f74c9bed4da0c36f9b188509dce5ad9f30b0499c679b062
2
false
false
karelzak/util-linux
https://github.com/karelzak/util-linux
dffab154d29a288aa171ff50263ecc8f2e14a891
2018-07-27
cve_published
su-common.c
add_supp_group
747
767
false
[]
null
unrelated_in_commit
[ "CVE-2017-2616" ]
[ "CWE-267", "CWE-362" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_3059_0::add_supp_group#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/karelzak/util-linux/commit/dffab154d29a288aa171ff50263ecc8f2e14a891", "changed_units_in_commit": 1}
ff5a10f4767e20078406901033871143e23851beb2d93533bde0a716a5b4bdec
c
function
const char *FS_ReferencedPakChecksums( void ) { static char info[BIG_INFO_STRING]; searchpath_t *search; info[0] = 0; for ( search = fs_searchpaths ; search ; search = search->next ) { // is the element a pak file? if ( search->pack ) { if (search->pack->referenced || Q_stricmpn(search->pack->pakGamename,...
ff5a10f4767e20078406901033871143e23851beb2d93533bde0a716a5b4bdec
32504f12450caf9a284309d314346e20e1b519db0416bbb5ec62e0b25534af27
011d5cc2e4d99dd31a147ad511c47ddf531ba169297c21d885bb61ac8e7e0505
2
true
false
ioquake/ioq3
https://github.com/ioquake/ioq3
376267d534476a875d8b9228149c4ee18b74a4fd
2017-03-14
cve_published
files.c
FS_ReferencedPakChecksums
3,708
3,725
false
[]
cbf34b00db645cb8a5b801698ca0d381
fix
[ "CVE-2017-6903" ]
[ "CWE-254", "CWE-269" ]
source
source
nvd_patch_commit
0.65
false
+0.05 agreement of 4 datasets
null
[ { "dataset": "bigvul_msr20", "original_id": "row:96051", "original_label": "0", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_3228_1::FS_ReferencedPakChecksums#0",...
4
4
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/ioquake/ioq3/commit/376267d534476a875d8b9228149c4ee18b74a4fd", "changed_units_in_commit": 211}
f972db8a89726c9df39803f7e83ae0516bd313615b8d5788365dc494024db03a
cpp
function
void CL_InitServerInfo( serverInfo_t *server, netadr_t *address ) { server->adr = *address; server->clients = 0; server->hostName[0] = '\0'; server->mapName[0] = '\0'; server->maxClients = 0; server->maxPing = 0; server->minPing = 0; server->netType = 0; server->needPassword = qfalse; server->trueJedi = 0; s...
f972db8a89726c9df39803f7e83ae0516bd313615b8d5788365dc494024db03a
76405b0e1ddad4d81dee997787ddfe662c035b4420107c813a61b01509d87082
f972db8a89726c9df39803f7e83ae0516bd313615b8d5788365dc494024db03a
1
true
false
jacoders/openjk
https://github.com/JACoders/OpenJK
8956a35e7b91c4a0dd1fa6db1d28c7f0efbab2d7
2017-03-14
cve_published
cl_main.cpp
CL_InitServerInfo
1,647
1,664
false
[]
null
unrelated_in_commit
[ "CVE-2017-6903" ]
[ "CWE-269" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_3234_2::CL_InitServerInfo#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/JACoders/OpenJK/commit/8956a35e7b91c4a0dd1fa6db1d28c7f0efbab2d7", "changed_units_in_commit": 5}
18fcce3b6731384a870f904ea5f0338481df85f0b30ba7ad3ed539d21d141a67
c
function
int mg_dns_copy_questions(struct mbuf *io, struct mg_dns_message *msg) { unsigned char *begin, *end; struct mg_dns_resource_record *last_q; if (msg->num_questions <= 0) return 0; begin = (unsigned char *) msg->pkt.p + sizeof(struct mg_dns_header); last_q = &msg->questions[msg->num_questions - 1]; end = (uns...
18fcce3b6731384a870f904ea5f0338481df85f0b30ba7ad3ed539d21d141a67
a5c8105ddcefc030e0e6436d001b4977b96bfdd5d260fd5b790d33feff43b005
18fcce3b6731384a870f904ea5f0338481df85f0b30ba7ad3ed539d21d141a67
1
true
false
cesanta/mongoose
https://github.com/cesanta/mongoose
b8402ed0733e3f244588b61ad5fedd093e3cf9cc
2017-04-10
cve_published
mongoose.c
mg_dns_copy_questions
10,335
10,343
false
[]
null
unrelated_in_commit
[ "CVE-2017-7185", "CVE-2019-12951" ]
[ "CWE-119", "CWE-416", "CWE-787" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_3242_0::mg_dns_copy_questions#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "go...
3
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/cesanta/mongoose/commit/b8402ed0733e3f244588b61ad5fedd093e3cf9cc", "changed_units_in_commit": 1}
6d600d1e3e4ba4cd32296129c038c40612a1f477fc0df9a34f1d9bddac74e615
c_or_cpp
function
int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask) { int i, osize = skb_end_offset(skb); int size = osize + nhead + ntail; long off; u8 *data; BUG_ON(nhead < 0); if (skb_shared(skb)) BUG(); size = SKB_DATA_ALIGN(size); if (skb_pfmemalloc(skb)) gfp_mask |= __GFP_MEMALL...
6d600d1e3e4ba4cd32296129c038c40612a1f477fc0df9a34f1d9bddac74e615
aed4ab1f5335143ef199dea10050f9e30ff7875525d872692c1ab2c99fd56031
11d31b488e4a9ded520aa0a1324282601fc9ce0e96bb277708148e7a80d03c8d
3
true
false
linux
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux
8605330aac5a5785630aec8f64378a54891937cc
2017-03-28
cve_published
null
null
null
null
false
[]
null
unrelated_in_commit
[ "CVE-2017-7277" ]
[ "CWE-125" ]
hub_fix_commit
source
prime_vul
0.75
false
+0.05 agreement of 3 datasets
null
[ { "dataset": "bigvul_msr20", "original_id": "row:67684", "original_label": "0", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_3254_1::pskb_expand_head#0", "ori...
4
3
primevul
MIT (PrimeVul, Ding et al. ICSE'25)
train
primevul_official
{"primevul_hash": 3798744325767942625049763617208181720, "big_vul_idx": 67684}
44af1382a13d216446faf41fdfb1d1c8f06d23de1d937e60d110abba018fcea7
c_or_cpp
function
static int __meminit save_mr(struct map_range *mr, int nr_range, unsigned long start_pfn, unsigned long end_pfn, unsigned long page_size_mask) { if (start_pfn < end_pfn) { if (nr_range >= NR_RANGE_MR) panic("run out of range for init_memory_mapping\n"); mr[nr_range].start = start_pfn<<PAGE_SHIFT...
44af1382a13d216446faf41fdfb1d1c8f06d23de1d937e60d110abba018fcea7
fc729fe2995cd6f10e3cecca20d42e2933e35563a16dcdffffbe81effc5195fc
44af1382a13d216446faf41fdfb1d1c8f06d23de1d937e60d110abba018fcea7
2
true
false
linux
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux
a4866aa812518ed1a37d8ea0c881dc946409de94
2017-04-17
cve_published
null
null
null
null
false
[]
null
unrelated_in_commit
[ "CVE-2017-7889" ]
[ "CWE-200", "CWE-732" ]
hub_fix_commit
source
prime_vul
0.75
false
+0.05 agreement of 4 datasets
null
[ { "dataset": "bigvul_msr20", "original_id": "row:66868", "original_label": "0", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_3304_0::save_mr#0", "original_lab...
4
4
primevul
MIT (PrimeVul, Ding et al. ICSE'25)
train
primevul_official
{"primevul_hash": 79088226435166374473015081186483037749, "big_vul_idx": 66868}
3bfed8314d4e2739dbfd8989a43cd600c3d2c66ad1b688b0717deb407cb2118b
c
function
static inline void gen_op_movl_T0_Dshift(TCGMemOp ot) { tcg_gen_ld32s_tl(cpu_T0, cpu_env, offsetof(CPUX86State, df)); tcg_gen_shli_tl(cpu_T0, cpu_T0, ot); }
3bfed8314d4e2739dbfd8989a43cd600c3d2c66ad1b688b0717deb407cb2118b
e0b28eb6c1f21f1b085fcd901087adb839a664ac8501df0a59a041286b4ccb38
3bfed8314d4e2739dbfd8989a43cd600c3d2c66ad1b688b0717deb407cb2118b
2
false
false
qemu/qemu
https://github.com/qemu/qemu
30663fd26c0307e414622c7a8607fbc04f92ec14
2017-04-26
cve_published
translate.c
gen_op_movl_T0_Dshift
509
513
false
[]
null
unrelated_in_commit
[ "CVE-2017-8284" ]
[ "CWE-94" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_3326_0::gen_op_movl_T0_Dshift#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/qemu/qemu/commit/30663fd26c0307e414622c7a8607fbc04f92ec14", "changed_units_in_commit": 1}
d66dbf6ea06f956a77cb09699ceb1d173e894580c947736acf66d087ea69fa24
c
function
LIBETPAN_EXPORT int mailimf_char_parse(const char * message, size_t length, size_t * indx, char token) { size_t cur_token; cur_token = * indx; if (cur_token >= length) return MAILIMF_ERROR_PARSE; if (message[cur_token] == token) { cur_token ++; * indx = cur_token; return MAILIMF_NO_E...
d66dbf6ea06f956a77cb09699ceb1d173e894580c947736acf66d087ea69fa24
17ee54f428d65c6fa238a23c0d81babc8408f11aecfbb6ceb829899257468c64
398fe9a30d3659cf815796dc28d2dadf2a1a1170e54fabffe57ea0dcbb0ae386
2
false
false
dinhviethoa/libetpan
https://github.com/dinhviethoa/libetpan
1fe8fbc032ccda1db9af66d93016b49c16c1f22d
2017-05-08
cve_published
mailimf.c
mailimf_char_parse
354
372
false
[]
null
unrelated_in_commit
[ "CVE-2017-8825" ]
[ "CWE-476" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_3338_0::mailimf_char_parse#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/dinhviethoa/libetpan/commit/1fe8fbc032ccda1db9af66d93016b49c16c1f22d", "changed_units_in_commit": 1}
71560df4bae858b9fdbc4a4d3050943a4b8c75b5e5bfd12f3cd740fe53685cc2
c
function
static IW_INLINE unsigned int get_raw_sample_4(struct iw_context *ctx, int x, int y) { unsigned short tmpui8; tmpui8 = ctx->img1.pixels[y*ctx->img1.bpr + x/2]; if(x&0x1) tmpui8 = tmpui8&0x0f; else tmpui8 = tmpui8>>4; return tmpui8; }
71560df4bae858b9fdbc4a4d3050943a4b8c75b5e5bfd12f3cd740fe53685cc2
b6c6fce6f12237d5d535b64050a28f2dae68995de149a16a7b1fc29963da801d
37da33e544acccbe889f0df05345beaebccbd0a9b843ccc61f024762ab4408e0
2
true
false
jsummers/imageworsener
https://github.com/jsummers/imageworsener
a4f247707f08e322f0b41e82c3e06e224240a654
2017-05-23
cve_published
imagew-main.c
get_raw_sample_4
156
166
false
[]
null
unrelated_in_commit
[ "CVE-2017-9203" ]
[ "CWE-787" ]
source
source
nvd_patch_commit
0.55
false
+0.05 agreement of 2 datasets
null
[ { "dataset": "bigvul_msr20", "original_id": "row:64910", "original_label": "0", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_3368_1::get_raw_sample_4#0", "ori...
2
2
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/jsummers/imageworsener/commit/a4f247707f08e322f0b41e82c3e06e224240a654", "changed_units_in_commit": 2}
385c92434370bc71c39c11a398bc0e4cdd0e142b5422229d146b22fcff187158
c
function
void mono_reflection_get_dynamic_overrides (MonoClass *klass, MonoMethod ***overrides, int *num_overrides) { MonoReflectionTypeBuilder *tb; int i, onum; *overrides = NULL; *num_overrides = 0; g_assert (klass->image->dynamic); if (!mono_class_get_ref_info (klass)) return; g_assert (strcmp (((MonoObject*)mon...
385c92434370bc71c39c11a398bc0e4cdd0e142b5422229d146b22fcff187158
5a4d80cab97cdf231b472f194620c28f39b53a6a9599946cced5a3eab199774a
299f346f2ff0997a7cfaf6ce2de2be0671bea0f6cd0ff88d1cdb9d1f1ec629f1
4
false
false
mono/mono
https://github.com/mono/mono
89d1455a80ef13cddee5d79ec00c06055da3085c
2011-04-13
cve_published
reflection.c
mono_reflection_get_dynamic_overrides
10,870
10,917
false
[]
null
unrelated_in_commit
[ "CVE-2010-4254", "CVE-2011-0991" ]
[ "CWE-20", "CWE-399" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_3432_3::mono_reflection_get_dynamic_overrides#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "o...
3
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/mono/mono/commit/89d1455a80ef13cddee5d79ec00c06055da3085c", "changed_units_in_commit": 7}
851446d47f26a61b35bb0d46bc9f95ed2e6af765d83cc8b597a97d53ad21577e
c_or_cpp
function
static int pmcraid_netlink_init(void) { int result; result = genl_register_family(&pmcraid_event_family); if (result) return result; pmcraid_info("registered NETLINK GENERIC group: %d\n", pmcraid_event_family.id); return result; }
851446d47f26a61b35bb0d46bc9f95ed2e6af765d83cc8b597a97d53ad21577e
e1d886907be5d6ce5b8caa0d9362a91ddd2fc71e3f1435974650994e841a6527
604796c6b64d92eb6b696a378dbec590ff1389a70a8818c57161f35d4212ee61
2
true
false
linux
https://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git
b5b515445f4f5a905c5dd27e6e682868ccd6c09d
2012-05-24
cve_published
null
null
null
null
false
[]
null
unrelated_in_commit
[ "CVE-2011-2906" ]
[ "CWE-189", "CWE-400" ]
hub_fix_commit
source
prime_vul
0.75
false
+0.05 agreement of 3 datasets
null
[ { "dataset": "bigvul_msr20", "original_id": "row:26473", "original_label": "0", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_3484_0::pmcraid_netlink_init#0", ...
3
3
primevul
MIT (PrimeVul, Ding et al. ICSE'25)
train
primevul_official
{"primevul_hash": 13168064718798480604343167898048293369, "big_vul_idx": 26473}
c64cec96991becbaa0eab28fb06aad56d9b828c683f970b3f1f15ebe8f22480b
c_or_cpp
function
int setup_allrouters_membership(struct Interface *iface) { struct ipv6_mreq mreq; memset(&mreq, 0, sizeof(mreq)); mreq.ipv6mr_interface = iface->if_index; /* ipv6-allrouters: ff02::2 */ mreq.ipv6mr_multiaddr.s6_addr32[0] = htonl(0xFF020000); mreq.ipv6mr_multiaddr.s6_addr32[3] = htonl(0x2); if (setsockopt(sock...
c64cec96991becbaa0eab28fb06aad56d9b828c683f970b3f1f15ebe8f22480b
492221624b2792cd38fdb75144143196520031c23a495cf2addfe56f0379be3e
c64cec96991becbaa0eab28fb06aad56d9b828c683f970b3f1f15ebe8f22480b
1
true
false
radvd
https://github.com/reubenhwk/radvd
92e22ca23e52066da2258df8c76a2dca8a428bcc
2014-04-27
cve_published
null
null
null
null
false
[]
null
unrelated_in_commit
[ "CVE-2011-3602" ]
[ "CWE-22" ]
hub_fix_commit
source
prime_vul
0.75
false
+0.05 agreement of 4 datasets
null
[ { "dataset": "bigvul_msr20", "original_id": "row:41243", "original_label": "0", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_3514_0::setup_allrouters_membership#0...
4
4
primevul
MIT (PrimeVul, Ding et al. ICSE'25)
train
primevul_official
{"primevul_hash": 298760388775973907326417478171132051616, "big_vul_idx": 41243}
7ffb1b0536646565d7d780831af96c6009ecf5ef3b6939ce2938914990a59194
c
function
static int nfs4_proc_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) { struct nfs4_exception exception = { }; int err; do { err = _nfs4_proc_setlk(state, cmd, request); if (err == -NFS4ERR_DENIED) err = -EAGAIN; err = nfs4_handle_exception(NFS_SERVER(state->inode), err, &exception);...
7ffb1b0536646565d7d780831af96c6009ecf5ef3b6939ce2938914990a59194
87add371763658309d61f0280f0925e8a52b84f75146ba08a8a5059af89711f7
04c9d393c26d7d1556e77a0b2f8713b044abc6f92d8aed84b8349a2c693a92fc
6
false
false
torvalds/linux
https://github.com/torvalds/linux
bf118a342f10dafe44b14451a1392c3254629a1f
2012-05-17
cve_published
nfs4proc.c
nfs4_proc_setlk
4,523
4,536
false
[]
null
unrelated_in_commit
[ "CVE-2011-4131" ]
[ "CWE-189", "CWE-703" ]
source
source
nvd_patch_commit
0.55
false
+0.05 agreement of 3 datasets
null
[ { "dataset": "bigvul_msr20", "original_id": "row:23235", "original_label": "0", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_3527_0::nfs4_proc_setlk#0", "orig...
3
3
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/torvalds/linux/commit/bf118a342f10dafe44b14451a1392c3254629a1f", "changed_units_in_commit": 6}
a5c59a48831130af9fac7e18fe47c4e8718944722298a41099635c36e4df0779
c
function
int do_migrate_pages(struct mm_struct *mm, const nodemask_t *from_nodes, const nodemask_t *to_nodes, int flags) { return -ENOSYS; }
a5c59a48831130af9fac7e18fe47c4e8718944722298a41099635c36e4df0779
3bf5fc643e687554b2e8cc2636ec38c909318453f7278111ae215a94ac3df3a7
a5c59a48831130af9fac7e18fe47c4e8718944722298a41099635c36e4df0779
1
true
false
torvalds/linux
https://github.com/torvalds/linux
4a1d704194a441bf83c636004a479e01360ec850
2012-05-17
cve_published
mempolicy.c
do_migrate_pages
1,075
1,079
false
[]
4b0142202cd931c4c749fd4e88203ab7
fix
[ "CVE-2012-1179" ]
[ "CWE-264" ]
source
source
nvd_patch_commit
0.65
false
+0.05 agreement of 3 datasets
null
[ { "dataset": "bigvul_msr20", "original_id": "row:21306", "original_label": "0", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_3604_5::do_migrate_pages#1", "ori...
3
3
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/torvalds/linux/commit/4a1d704194a441bf83c636004a479e01360ec850", "changed_units_in_commit": 522}
fe1c1e876c66914aa6bf78b260ccf2bb2ce33c687d51d0a0f3ea4b3aefa7922b
c
function
static int kvm_vm_ioctl_set_irqchip(struct kvm *kvm, struct kvm_irqchip *chip) { int r; r = 0; switch (chip->chip_id) { case KVM_IRQCHIP_IOAPIC: r = kvm_set_ioapic(kvm, &chip->chip.ioapic); break; default: r = -EINVAL; break; } return r; }
fe1c1e876c66914aa6bf78b260ccf2bb2ce33c687d51d0a0f3ea4b3aefa7922b
1b3da257d70ba7ebc038e78b3bf8d8a1bf6576cf9c44b1b93693c9961bcf1210
fe1c1e876c66914aa6bf78b260ccf2bb2ce33c687d51d0a0f3ea4b3aefa7922b
1
true
false
torvalds/linux
https://github.com/torvalds/linux
9c895160d25a76c21b65bad141b08e8d4f99afef
2012-05-17
cve_published
kvm-ia64.c
kvm_vm_ioctl_set_irqchip
852
866
false
[]
null
unrelated_in_commit
[ "CVE-2012-1601" ]
[ "CWE-399" ]
source
source
nvd_patch_commit
0.55
false
+0.05 agreement of 4 datasets
null
[ { "dataset": "bigvul_msr20", "original_id": "row:20640", "original_label": "0", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_3622_0::kvm_vm_ioctl_set_irqchip#0", ...
4
4
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/torvalds/linux/commit/9c895160d25a76c21b65bad141b08e8d4f99afef", "changed_units_in_commit": 5}
cc74bb484d650b1af15a27802c71f83271806cee7efdbb6188febe25d2c8d3ba
c_or_cpp
function
static void TIFFReadPhotoshopLayers(Image* image,const ImageInfo *image_info, ExceptionInfo *exception) { const char *option; const StringInfo *profile; CustomStreamInfo *custom_stream; Image *layers; PhotoshopProfile photoshop_profile; PSDInfo info; register ssize_t i;...
cc74bb484d650b1af15a27802c71f83271806cee7efdbb6188febe25d2c8d3ba
b531075e6eb067032d1105173e958ea627ab761afe3f1b390b18f463cb82d46f
056ccc3a0812a5d546f012733416a6fe2e558b1d4445b0b8d355321ac56b3053
4
false
true
ImageMagick
https://github.com/imagemagick/imagemagick
256825d4eb33dc301496710d15cf5a7ae924088b
2018-09-06
cve_published
null
null
null
null
false
[]
null
unrelated_in_commit
[ "CVE-2018-16641" ]
[ "CWE-399", "CWE-772" ]
hub_fix_commit
source
prime_vul
0.75
false
+0.05 agreement of 4 datasets
null
[ { "dataset": "bigvul_msr20", "original_id": "row:77986", "original_label": "0", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_362_0::TIFFReadPhotoshopLayers#0", ...
4
4
primevul
MIT (PrimeVul, Ding et al. ICSE'25)
train
primevul_official
{"primevul_hash": 286932921066934103593919785113564304949, "big_vul_idx": 77986}
d6cfae8f1035b1eb41bad5f2aa0a6b54614506a00b28ffe92554cdb4f650cd93
c_or_cpp
function
const struct cred *get_task_cred(struct task_struct *task) { const struct cred *cred; rcu_read_lock(); do { cred = __task_cred((task)); BUG_ON(!cred); } while (!atomic_inc_not_zero(&((struct cred *)cred)->usage)); rcu_read_unlock(); return cred; }
d6cfae8f1035b1eb41bad5f2aa0a6b54614506a00b28ffe92554cdb4f650cd93
a6ffba8d2cff360eef7bf34efc8dc387b0590dcba39f7d9d1e4ca3c308b63fb3
7c26e9720b0428da0e1b96b0a364dd45e265582a0544cb92518195260ac92901
2
true
false
linux
https://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git
79549c6dfda0603dba9a70a53467ce62d9335c33
2012-08-09
cve_published
null
null
null
null
false
[]
null
unrelated_in_commit
[ "CVE-2012-2745" ]
[ "CWE-119" ]
hub_fix_commit
source
prime_vul
0.75
false
+0.05 agreement of 5 datasets
null
[ { "dataset": "bigvul_msr20", "original_id": "row:19606", "original_label": "0", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_3674_0::get_task_cred#0", "origin...
6
5
primevul
MIT (PrimeVul, Ding et al. ICSE'25)
train
primevul_official
{"primevul_hash": 192586859336657054399984669497275705003, "big_vul_idx": 19606}
65c09496c1ca9e4fb42212c0227948d07f325532a3e2eb9ab23eb97fd259c795
cpp
function
void UnicodeString::setToBogus() { releaseArray(); fUnion.fFields.fLengthAndFlags = kIsBogus; fUnion.fFields.fArray = 0; fUnion.fFields.fCapacity = 0; }
65c09496c1ca9e4fb42212c0227948d07f325532a3e2eb9ab23eb97fd259c795
303e096019036edc133e494df45dc49d5db92cbb3ae0f2277ea2d3f8a7cb8d58
65c09496c1ca9e4fb42212c0227948d07f325532a3e2eb9ab23eb97fd259c795
2
true
false
unicode-org/icu
https://github.com/unicode-org/icu
b7d08bc04a4296982fcef8b6b8a354a9e4e7afca
2020-03-12
cve_published
unistr.cpp
UnicodeString::setToBogus
1,199
1,207
false
[]
null
unrelated_in_commit
[ "CVE-2020-10531" ]
[ "CWE-190", "CWE-787" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_3872_0::UnicodeString::setToBogus#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/unicode-org/icu/commit/b7d08bc04a4296982fcef8b6b8a354a9e4e7afca", "changed_units_in_commit": 1}
6285aa6b60c3fa8a04abfd684a581601c19903cd869a934aba2c7c97c8669dea
c
function
struct ofpbuf * ofputil_encode_resume(const struct ofputil_packet_in *pin, const struct ofpbuf *continuation, enum ofputil_protocol protocol) { enum ofp_version version = ofputil_protocol_to_ofp_version(protocol); size_t extra = pin->packet_len + NXM_TYPICAL_LEN + con...
6285aa6b60c3fa8a04abfd684a581601c19903cd869a934aba2c7c97c8669dea
daea0491326a6a376f66a2bbc8116ee29a9e55bf22470b962d3277374414a14b
6285aa6b60c3fa8a04abfd684a581601c19903cd869a934aba2c7c97c8669dea
2
false
false
openvswitch/ovs
https://github.com/openvswitch/ovs
4af6da3b275b764b1afe194df6499b33d2bf4cde
2018-09-19
cve_published
ofp-util.c
ofputil_encode_resume
4,009
4,022
false
[]
null
unrelated_in_commit
[ "CVE-2018-17204" ]
[ "CWE-617" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_389_0::ofputil_encode_resume#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/openvswitch/ovs/commit/4af6da3b275b764b1afe194df6499b33d2bf4cde", "changed_units_in_commit": 1}
360d83ea866a6d560951ed8bcc1a13aba71f3b59f83c963871ca83b757388275
c
function
static void encode_SET_IPV4_DST(const struct ofpact_ipv4 *ipv4, enum ofp_version ofp_version, struct ofpbuf *out) { encode_SET_IPV4_addr(ipv4, ofp_version, OFPAT_RAW_SET_NW_DST, MFF_IPV4_DST, out); }
360d83ea866a6d560951ed8bcc1a13aba71f3b59f83c963871ca83b757388275
ac418657fc1a6a4f4b2e81a0847fb90382de1f057ee9b89cf2348edf646d126b
360d83ea866a6d560951ed8bcc1a13aba71f3b59f83c963871ca83b757388275
2
true
false
openvswitch/ovs
https://github.com/openvswitch/ovs
9237a63c47bd314b807cda0bd2216264e82edbe8
2018-09-19
cve_published
ofp-actions.c
encode_SET_IPV4_DST
1,863
1,869
false
[]
null
unrelated_in_commit
[ "CVE-2018-17206" ]
[ "CWE-125" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_391_0::encode_SET_IPV4_DST#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/openvswitch/ovs/commit/9237a63c47bd314b807cda0bd2216264e82edbe8", "changed_units_in_commit": 1}
ef393f2b67483783b5a91a32642f696e656471423f5bec247a53cb51c8c06b5f
c
function
int wc_ecc_sig_size_calc(int sz) { int maxSigSz = 0; /* calculate based on key bits */ /* maximum possible signature header size is 7 bytes plus 2 bytes padding */ maxSigSz = (sz * 2) + SIG_HEADER_SZ + ECC_MAX_PAD_SZ; /* if total length is less than 128 + SEQ(1)+LEN(1) then subtract 1 */ if (m...
ef393f2b67483783b5a91a32642f696e656471423f5bec247a53cb51c8c06b5f
b0ab2e2e013af7918dbc682f1c7533f1d99f23393772400c7d7239dad4a486b3
ef393f2b67483783b5a91a32642f696e656471423f5bec247a53cb51c8c06b5f
1
true
false
wolfssl/wolfssl
https://github.com/wolfSSL/wolfssl
5ee9f9c7a23f8ed093fe1e42bc540727e96cebb8
2019-12-24
cve_published
ecc.c
wc_ecc_sig_size_calc
7,619
7,633
false
[]
null
unrelated_in_commit
[ "CVE-2019-13628", "CVE-2019-19960", "CVE-2020-11735" ]
[ "CWE-203", "CWE-326" ]
source
null
nvd_patch_commit
0.55
false
+0.05 agreement of 3 datasets
null
[ { "dataset": "crossvul_2.0", "original_id": "good_1335_0::wc_ecc_sig_size_calc#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "goo...
4
3
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/wolfSSL/wolfssl/commit/5ee9f9c7a23f8ed093fe1e42bc540727e96cebb8", "changed_units_in_commit": 1}
d1ab7712497effb5240bb43252db5b1e3bac369e01e32f8f1a56d73cd70ad858
c_or_cpp
function
void test_checkout_nasty__dotdot_dotgit_path(void) { test_checkout_fails("refs/heads/dotdot_dotgit_path", ".git/foobar"); }
d1ab7712497effb5240bb43252db5b1e3bac369e01e32f8f1a56d73cd70ad858
14a410bc295fab3f9d87c1288683b82559c3aea7a03948a4fab6fb13a3db31a4
d1ab7712497effb5240bb43252db5b1e3bac369e01e32f8f1a56d73cd70ad858
1
true
false
libgit2
https://github.com/libgit2/libgit2
64c612cc3e25eff5fb02c59ef5a66ba7a14751e4
2020-04-27
cve_published
null
null
null
null
false
[]
null
unrelated_in_commit
[ "CVE-2020-12278", "CVE-2020-12279" ]
[ "CWE-20", "CWE-706" ]
hub_fix_commit
hub_cve
prime_vul
0.75
false
+0.05 agreement of 3 datasets
null
[ { "dataset": "crossvul_2.0", "original_id": "good_3987_1::test_checkout_nasty__dotdot_dotgit_path#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", ...
4
3
primevul
MIT (PrimeVul, Ding et al. ICSE'25)
train
primevul_official
{"primevul_hash": 10807682405548197770573587766325588449, "big_vul_idx": null}
5d69156a1fd3a6a86077d053738cde23e5d6604fa244a7c1ebb3879e1e5b1e93
c
function
static void mwifiex_send_single_packet(struct mwifiex_private *priv, struct mwifiex_ra_list_tbl *ptr, int ptr_index) __releases(&priv->wmm.ra_list_spinlock) { struct sk_buff *skb, *skb_next; struct mwifiex_tx_param tx_param; struct mwifiex_adapter *adapter = priv->adapter; struct mwifiex_txinfo *tx_info...
5d69156a1fd3a6a86077d053738cde23e5d6604fa244a7c1ebb3879e1e5b1e93
9fa292e81d6573cb87d3db3af2bc22a6107ef13e61cd980b5ec56494bd610134
34478d4041e1db42aff294178a9ee623359c3c5855d4dcaab4a5fd4052977d98
3
false
false
torvalds/linux
https://github.com/torvalds/linux
3a9b153c5591548612c3955c9600a98150c81875
2020-05-05
cve_published
wmm.c
mwifiex_send_single_packet
1,229
1,283
false
[]
null
unrelated_in_commit
[ "CVE-2020-12654" ]
[ "CWE-787" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_4005_0::mwifiex_send_single_packet#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/torvalds/linux/commit/3a9b153c5591548612c3955c9600a98150c81875", "changed_units_in_commit": 1}
5043e8c6b59af36b37e710c28db03ebe492bd8e68cd87ef0658af3601dde55bf
c_or_cpp
function
static void check_unsafe_exec(struct linux_binprm *bprm) { struct task_struct *p = current, *t; unsigned n_fs; if (p->ptrace) bprm->unsafe |= LSM_UNSAFE_PTRACE; /* * This isn't strictly necessary, but it makes it harder for LSMs to * mess up. */ if (task_no_new_privs(current)) bprm->unsafe |= LSM_UNSAF...
5043e8c6b59af36b37e710c28db03ebe492bd8e68cd87ef0658af3601dde55bf
19d56838c7032cbc0f620ad86c8c8eb9d9ea7656f404ca61f610803383f1b39b
5043e8c6b59af36b37e710c28db03ebe492bd8e68cd87ef0658af3601dde55bf
1
true
false
linux
null
98da7d08850fb8bdeb395d6368ed15753304aa0c
null
null
null
null
null
null
false
[]
null
unrelated_in_commit
[ "CVE-2017-1000365", "CVE-2020-12826" ]
[ "CWE-190" ]
null
null
prime_vul
0.75
false
+0.05 agreement of 3 datasets
null
[ { "dataset": "crossvul_2.0", "original_id": "good_4015_0::check_unsafe_exec#0", "original_label": "good", "label_source": "nvd_patch_commit", "label_confidence": 0.6000000238418579, "is_vulnerable": false, "source_split": null }, { "dataset": "diversevul_20230702", "original_...
3
3
primevul
MIT (PrimeVul, Ding et al. ICSE'25)
train
primevul_official
{"primevul_hash": 174339957411361788762353520888317830698, "big_vul_idx": null}
0580548af8b6e05afee1fea2729abb58aaf43f8654a73f85253611996bdde34b
cpp
function
void WebContents::MessageHost(const std::string& channel, blink::CloneableMessage arguments) { TRACE_EVENT1("electron", "WebContents::MessageHost", "channel", channel); // webContents.emit('ipc-message-host', new Event(), channel, args); EmitWithSender("ipc-message-host", receivers_....
0580548af8b6e05afee1fea2729abb58aaf43f8654a73f85253611996bdde34b
ec6e0612fdb5e5c3ed8d642447318745f120b175656d24f9fbd57aa04e3ec905
0580548af8b6e05afee1fea2729abb58aaf43f8654a73f85253611996bdde34b
1
true
false
electron/electron
https://github.com/electron/electron
18613925610ba319da7f497b6deed85ad712c59b
2020-10-06
cve_published
electron_api_web_contents.cc
WebContents::MessageHost
1,217
1,223
false
[]
null
unrelated_in_commit
[ "CVE-2020-15174" ]
[ "CWE-20", "CWE-284", "CWE-693" ]
source
source
nvd_patch_commit
0.55
false
+0.05 agreement of 2 datasets
null
[ { "dataset": "crossvul_2.0", "original_id": "good_4131_0::WebContents::MessageHost#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "diversevul_20230702", "origina...
2
2
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/electron/electron/commit/18613925610ba319da7f497b6deed85ad712c59b", "changed_units_in_commit": 3}
a6d0029d873747215ad5e7d2e62f678330f5a487fa10e34d7c7e2fca180aa97f
cpp
function
void* Init(TfLiteContext* context, const char* buffer, size_t length) { TFLITE_DCHECK(context->AllocatePersistentBuffer != nullptr); return context->AllocatePersistentBuffer(context, sizeof(L2NormalizationParams)); }
a6d0029d873747215ad5e7d2e62f678330f5a487fa10e34d7c7e2fca180aa97f
d87504ca3676b789ba17c80ab846b82454e4d43034d3ae3a3890ff6c787b5d0b
a6d0029d873747215ad5e7d2e62f678330f5a487fa10e34d7c7e2fca180aa97f
1
true
false
tensorflow/tensorflow
https://github.com/tensorflow/tensorflow
fff2c8326280c07733828f990548979bdc893859
2020-09-25
cve_published
l2norm.cc
Init
77
81
false
[]
null
unrelated_in_commit
[ "CVE-2020-15211" ]
[ "CWE-125", "CWE-787" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_4164_12::Init#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/tensorflow/tensorflow/commit/fff2c8326280c07733828f990548979bdc893859", "changed_units_in_commit": 32}
06ad1002e5e070ea09cf0ef3ef80b9c35656c62ff2750ffd32bd661dd0b492c2
c_or_cpp
function
static inline void tss_update_io_bitmap(void) { PVOP_VCALL0(cpu.update_io_bitmap); }
06ad1002e5e070ea09cf0ef3ef80b9c35656c62ff2750ffd32bd661dd0b492c2
7fe6b97a611b0e42f6a9a385d8a3b607733bb893d92193c226b1ea70aedfb4bd
06ad1002e5e070ea09cf0ef3ef80b9c35656c62ff2750ffd32bd661dd0b492c2
1
true
false
linux
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux
cadfad870154e14f745ec845708bc17d166065f2
2020-07-20
cve_published
null
null
null
null
false
[]
null
unrelated_in_commit
[ "CVE-2020-15852" ]
[ "CWE-276" ]
hub_fix_commit
hub_cve
prime_vul
0.75
false
+0.05 agreement of 3 datasets
null
[ { "dataset": "crossvul_2.0", "original_id": "good_4225_1::tss_update_io_bitmap#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "diversevul_20230702", "original_id...
3
3
primevul
MIT (PrimeVul, Ding et al. ICSE'25)
train
primevul_official
{"primevul_hash": 98245822252004303134634288949446989259, "big_vul_idx": null}
5fda830fc9d1c9625a0539978ffa0915ee4d69af709829f6c573fc0d79c458e8
c_or_cpp
function
static void f_parser (lua_State *L, void *ud) { LClosure *cl; struct SParser *p = cast(struct SParser *, ud); int c = zgetc(p->z); /* read first character */ if (c == LUA_SIGNATURE[0]) { checkmode(L, p->mode, "binary"); cl = luaU_undump(L, p->z, p->name); } else { checkmode(L, p->mode, "text");...
5fda830fc9d1c9625a0539978ffa0915ee4d69af709829f6c573fc0d79c458e8
656a745eec995fbc2579b56afefd21d529b5968f39d7ca02f378930e8e3d1799
5fda830fc9d1c9625a0539978ffa0915ee4d69af709829f6c573fc0d79c458e8
2
true
false
lua
https://github.com/lua/lua
6298903e35217ab69c279056f925fb72900ce0b7
2020-07-21
cve_published
null
null
null
null
false
[]
null
unrelated_in_commit
[ "CVE-2020-15888", "CVE-2020-15945", "CVE-2020-24342", "CVE-2021-45985" ]
[ "CWE-119", "CWE-120", "CWE-125", "CWE-416", "CWE-787" ]
hub_fix_commit
hub_cve
prime_vul
0.75
false
+0.05 agreement of 4 datasets
null
[ { "dataset": "crossvul_2.0", "original_id": "good_4230_0::f_parser#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_4231_0::f_...
9
4
primevul
MIT (PrimeVul, Ding et al. ICSE'25)
train
primevul_official
{"primevul_hash": 133781354629078404021413329253323704890, "big_vul_idx": null}
21b4759cdde31aed0ff7d452919000d6bd384a2eb9c14a1c8e52dd7dee099684
c_or_cpp
function
static lu_mem entergen (lua_State *L, global_State *g) { lu_mem numobjs; luaC_runtilstate(L, bitmask(GCSpause)); /* prepare to start a new cycle */ luaC_runtilstate(L, bitmask(GCSpropagate)); /* start new cycle */ numobjs = atomic(L); /* propagates all and then do the atomic stuff */ atomic2gen(L, g); re...
21b4759cdde31aed0ff7d452919000d6bd384a2eb9c14a1c8e52dd7dee099684
6253aca62e6189d1d13dfbc705097f998eace311cf9c75c0b82155803cdabb6d
21b4759cdde31aed0ff7d452919000d6bd384a2eb9c14a1c8e52dd7dee099684
1
true
false
lua
https://github.com/lua/lua
127e7a6c8942b362aa3c6627f44d660a4fb75312
2020-07-21
cve_published
null
null
null
null
false
[]
null
unrelated_in_commit
[ "CVE-2020-15889", "CVE-2020-24371" ]
[ "CWE-125", "CWE-763" ]
hub_fix_commit
hub_cve
prime_vul
0.75
false
+0.05 agreement of 4 datasets
null
[ { "dataset": "crossvul_2.0", "original_id": "good_4232_0::entergen#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_4273_0::en...
5
4
primevul
MIT (PrimeVul, Ding et al. ICSE'25)
train
primevul_official
{"primevul_hash": 186798532384045511713307233835387981817, "big_vul_idx": null}
e3a2fed608bb74962b57cb623783858fea09d9ac4f1db8d781f2ecd56abcff1f
c_or_cpp_header
function
explicit GeneratorInnerFunction( Module *parent, Identifier originalName, DefinitionKind definitionKind, bool strictMode, bool isGlobal, SMRange sourceRange, Function *insertBefore) : Function( ValueKind::GeneratorInnerFunctionKind, parent, ...
e3a2fed608bb74962b57cb623783858fea09d9ac4f1db8d781f2ecd56abcff1f
f6cad720f893303aa3610b6e08b8793712e71fd8609cba9c4ccb19d07352551a
e3a2fed608bb74962b57cb623783858fea09d9ac4f1db8d781f2ecd56abcff1f
1
true
false
facebook/hermes
https://github.com/facebook/hermes
091835377369c8fd5917d9b87acffa721ad2a168
2020-09-09
cve_published
IR.h
GeneratorInnerFunction
1,634
1,652
false
[]
null
unrelated_in_commit
[ "CVE-2020-1912" ]
[ "CWE-125", "CWE-787" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_4256_0::GeneratorInnerFunction#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/facebook/hermes/commit/091835377369c8fd5917d9b87acffa721ad2a168", "changed_units_in_commit": 8}
8e8d0de50ee2d15bd7d12caa98c2874b84d49d0afb6e97ab89f0654d302dbb55
c_or_cpp_header
function
ParameterListType &getParameters() { return Parameters; }
8e8d0de50ee2d15bd7d12caa98c2874b84d49d0afb6e97ab89f0654d302dbb55
0d029b796d43ebdff72ace67f3e1ab26c60d54d03c464c46678f1ed2acf1ea6d
8e8d0de50ee2d15bd7d12caa98c2874b84d49d0afb6e97ab89f0654d302dbb55
1
true
false
facebook/hermes
https://github.com/facebook/hermes
091835377369c8fd5917d9b87acffa721ad2a168
2020-09-09
cve_published
IR.h
null
1,494
1,496
false
[]
null
unrelated_in_commit
[ "CVE-2020-1912" ]
[ "CWE-125", "CWE-787" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_4256_0::None#8", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/facebook/hermes/commit/091835377369c8fd5917d9b87acffa721ad2a168", "changed_units_in_commit": 8}
0b18e9c84b35bfb2f34550e2f0118dedd451a6eb6e320ef17d14578268dd3158
cpp
function
void MainWindow::on_actionProfileRemove_triggered() { QDir dir(Settings.appDataLocation()); if (dir.cd("profiles")) { // Setup the dialog. QStringList profiles = dir.entryList(QDir::Files | QDir::NoDotAndDotDot | QDir::Readable); ListSelectionDialog dialog(profiles, this); dialog...
0b18e9c84b35bfb2f34550e2f0118dedd451a6eb6e320ef17d14578268dd3158
53578d0f69e1be28b734197b9e0aa0d87dec2d2aca863e1a36552b1d31863e76
0b18e9c84b35bfb2f34550e2f0118dedd451a6eb6e320ef17d14578268dd3158
1
true
false
mltframework/shotcut
https://github.com/mltframework/shotcut
f008adc039642307f6ee3378d378cdb842e52c1d
2020-09-22
cve_published
mainwindow.cpp
MainWindow::on_actionProfileRemove_triggered
4,138
4,153
false
[]
null
unrelated_in_commit
[ "CVE-2020-24619" ]
[ "CWE-295", "CWE-327", "CWE-89" ]
source
source
nvd_patch_commit
0.55
false
+0.05 agreement of 2 datasets
null
[ { "dataset": "crossvul_2.0", "original_id": "good_4277_0::MainWindow::on_actionProfileRemove_triggered#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "diversevul_202...
2
2
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/mltframework/shotcut/commit/f008adc039642307f6ee3378d378cdb842e52c1d", "changed_units_in_commit": 2}
571e3972a27869955bced1ef3f466c398d24bb469ab471eeaa7738119b41ccd2
c_or_cpp_header
function
static __inline const char * ksid_getdomain(ksid_t *ks) { panic("%s has been unexpectedly called", __func__); }
571e3972a27869955bced1ef3f466c398d24bb469ab471eeaa7738119b41ccd2
ad25ee745e6c2d17834bc2591b4be7b07aa4ed05af5536d2ca84e173f9976204
571e3972a27869955bced1ef3f466c398d24bb469ab471eeaa7738119b41ccd2
1
true
false
openzfs/zfs
https://github.com/openzfs/zfs
716b53d0a14c72bda16c0872565dd1909757e73f
2020-08-27
cve_published
sid.h
ksid_getdomain
69
74
false
[]
null
unrelated_in_commit
[ "CVE-2020-24716", "CVE-2020-24717" ]
[ "CWE-276", "CWE-732", "CWE-863" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_4284_2::ksid_getdomain#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/openzfs/zfs/commit/716b53d0a14c72bda16c0872565dd1909757e73f", "changed_units_in_commit": 9}
adc16aae714bed27ba62302369f8e5385afae113f9ab846ba4da28044cc5dcf4
c
function
STATIC int xfs_attr_node_removename(xfs_da_args_t *args) { xfs_da_state_t *state; xfs_da_state_blk_t *blk; xfs_inode_t *dp; struct xfs_buf *bp; int retval, error, forkoff; trace_xfs_attr_node_removename(args); /* * Tie a string around our finger to remind us where we are. */ dp = args->dp; state = xfs_da...
adc16aae714bed27ba62302369f8e5385afae113f9ab846ba4da28044cc5dcf4
e8a4e36a1b542ca3371d718c2a31ff1a6309e408b74a229c2cf4a15a9203ba99
adc16aae714bed27ba62302369f8e5385afae113f9ab846ba4da28044cc5dcf4
2
false
false
torvalds/linux
https://github.com/torvalds/linux
7b38460dc8e4eafba06c78f8e37099d3b34d473c
2018-10-26
cve_published
xfs_attr.c
xfs_attr_node_removename
1,063
1,194
false
[]
null
unrelated_in_commit
[ "CVE-2018-18690" ]
[ "CWE-19", "CWE-754" ]
source
source
nvd_patch_commit
0.55
false
+0.05 agreement of 2 datasets
null
[ { "dataset": "crossvul_2.0", "original_id": "good_431_0::xfs_attr_node_removename#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "reposvul", "original_id": "3147...
2
2
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/torvalds/linux/commit/7b38460dc8e4eafba06c78f8e37099d3b34d473c", "changed_units_in_commit": 1}
fb658ee05c5dcc4dbff5338734479c04ad1c840fc0cbf9dfb26a9002ec8214d9
c_or_cpp
function
unsigned int bt_att_register(struct bt_att *att, uint8_t opcode, bt_att_notify_func_t callback, void *user_data, bt_att_destroy_func_t destroy) { struct att_notify *notify; if (!att || !callback || queue_isempty(att->chans)) return 0; notify = new0(struct att_notify, 1); notify->opcode = opcod...
fb658ee05c5dcc4dbff5338734479c04ad1c840fc0cbf9dfb26a9002ec8214d9
83471f1dfc69c2e8ef3bd549963ffb0906b712c483377be81e2798be2dfdf6b4
fb658ee05c5dcc4dbff5338734479c04ad1c840fc0cbf9dfb26a9002ec8214d9
1
true
false
bluez
https://github.com/bluez/bluez
1cd644db8c23a2f530ddb93cebed7dacc5f5721a
2020-10-15
cve_published
null
null
null
null
false
[]
null
unrelated_in_commit
[ "CVE-2020-27153" ]
[ "CWE-415" ]
hub_fix_commit
hub_cve
prime_vul
0.75
false
+0.05 agreement of 4 datasets
null
[ { "dataset": "crossvul_2.0", "original_id": "good_4406_0::bt_att_register#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "diversevul_20230702", "original_id": "l...
4
4
primevul
MIT (PrimeVul, Ding et al. ICSE'25)
train
primevul_official
{"primevul_hash": 121495179453595255297504558458605812661, "big_vul_idx": null}
b18d12f62583c950d7fac851a419d54e007f320841fed71b69d426320d370f23
c
function
static uint8_t hfs_make_catalog(HFS_INFO * hfs, TSK_FS_FILE * fs_file) { TSK_FS_INFO *fs = (TSK_FS_INFO *) hfs; TSK_FS_ATTR *fs_attr; TSK_FS_ATTR_RUN *attr_run; unsigned char dummy1, dummy2; uint64_t dummy3; uint8_t result; if (tsk_verbose) tsk_fprintf(stderr, "hfs_make_...
b18d12f62583c950d7fac851a419d54e007f320841fed71b69d426320d370f23
b0dd7d1f9705c0876f9fb1f95651ed11c463e51d4c7e3e12a7eec67d794230e5
204717273bbf739c3e08bd5b5798c6d4e3125117d709729aa9bdf76508b86c1f
2
true
false
sleuthkit/sleuthkit
https://github.com/sleuthkit/sleuthkit
bc04aa017c0bd297de8a3b7fc40ffc6ddddbb95d
2018-11-29
cve_published
hfs.c
hfs_make_catalog
1,870
1,942
false
[]
null
unrelated_in_commit
[ "CVE-2018-19497", "CVE-2019-1010065" ]
[ "CWE-125", "CWE-190" ]
source
source
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_451_0::hfs_make_catalog#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_711...
2
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/sleuthkit/sleuthkit/commit/bc04aa017c0bd297de8a3b7fc40ffc6ddddbb95d", "changed_units_in_commit": 1}
9252b42ddf0d83198aa7a0b4879122210bbe2e3b614aedd0e5f59fab08d98de5
c_or_cpp
function
static int opint(RAsm *a, ut8 *data, const Opcode *op) { int l = 0; if (op->operands[0].type & OT_CONSTANT) { st32 immediate = op->operands[0].immediate * op->operands[0].sign; if (immediate <= 255 && immediate >= -128) { data[l++] = 0xcd; data[l++] = immediate; } } return l; }
9252b42ddf0d83198aa7a0b4879122210bbe2e3b614aedd0e5f59fab08d98de5
8b4bd829a6a396767462bfd4f0de0d5eeac0fdd475df79b0cce0053e4aa4a585
9252b42ddf0d83198aa7a0b4879122210bbe2e3b614aedd0e5f59fab08d98de5
1
true
false
radare2
https://github.com/radare/radare2
9b46d38dd3c4de6048a488b655c7319f845af185
2018-12-25
cve_published
null
null
null
null
false
[]
null
unrelated_in_commit
[ "CVE-2018-19842", "CVE-2018-19843", "CVE-2018-20455", "CVE-2018-20456" ]
[ "CWE-119", "CWE-125", "CWE-787" ]
hub_fix_commit
source
prime_vul
0.75
false
+0.05 agreement of 4 datasets
null
[ { "dataset": "bigvul_msr20", "original_id": "row:75429", "original_label": "0", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_458_0::opint#0", "original_label"...
6
4
primevul
MIT (PrimeVul, Ding et al. ICSE'25)
train
primevul_official
{"primevul_hash": 150561064572607288412111487709098693266, "big_vul_idx": 75429}
4eef192dbf11ce76b74814a6e378d5c17528ea3be410a94d415a8d0fea5b8ae2
c_or_cpp
function
static int user_reset_fdc(int drive, int arg, bool interruptible) { int ret; if (lock_fdc(drive)) return -EINTR; if (arg == FD_RESET_ALWAYS) FDCS->reset = 1; if (FDCS->reset) { cont = &reset_cont; ret = wait_til_done(reset_fdc, interruptible); if (ret == -EINTR) return -EINTR; } process_fd_request(...
4eef192dbf11ce76b74814a6e378d5c17528ea3be410a94d415a8d0fea5b8ae2
67a5ab95d0378b8a4fb18e049580f6799ff191a8445c9fde97d3fce2645beaf7
4eef192dbf11ce76b74814a6e378d5c17528ea3be410a94d415a8d0fea5b8ae2
3
true
false
linux
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
2e90ca68b0d2f5548804f22f0dd61145516171e3
2020-02-25
cve_published
null
null
null
null
false
[]
null
unrelated_in_commit
[ "CVE-2015-9289", "CVE-2017-17807", "CVE-2017-18595", "CVE-2018-19985", "CVE-2018-20169", "CVE-2018-7191", "CVE-2019-10207", "CVE-2019-10638", "CVE-2019-10639", "CVE-2019-11190", "CVE-2019-11884", "CVE-2019-12382", "CVE-2019-13233", "CVE-2019-13648", "CVE-2019-14283", "CVE-2019-14284", ...
[ "CWE-120", "CWE-122", "CWE-125", "CWE-190", "CWE-20", "CWE-200", "CWE-287", "CWE-326", "CWE-362", "CWE-369", "CWE-399", "CWE-400", "CWE-401", "CWE-415", "CWE-416", "CWE-440", "CWE-476", "CWE-667", "CWE-787", "CWE-862" ]
hub_fix_commit
hub_cve
prime_vul
0.75
false
+0.05 agreement of 4 datasets
null
[ { "dataset": "bigvul_msr20", "original_id": "row:88847", "original_label": "0", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_4689_0::user_reset_fdc#0", "origi...
7
4
primevul
MIT (PrimeVul, Ding et al. ICSE'25)
train
primevul_official
{"primevul_hash": 81505714128420610428252649703876822659, "big_vul_idx": null}
edf83d568a8f110756b6f7f27055a47b58f00fcf38a81f84e4742235da8ad54b
c
function
gboolean mono_loader_lock_is_owned_by_self (void) { g_assert (loader_lock_track_ownership); return GPOINTER_TO_UINT (TlsGetValue (loader_lock_nest_id)) > 0; }
edf83d568a8f110756b6f7f27055a47b58f00fcf38a81f84e4742235da8ad54b
16baeaaf19e518487d9f46d0de257f73f17bb8a49a9cca80127686f74a73b227
0c2dee09b2157f8738dbf17d2425b8faccd0680d99bd6953519c2625d0567d94
2
true
false
mono/mono
https://github.com/mono/mono
8e890a3bf80a4620e417814dc14886b1bbd17625
2010-11-17
cve_published
loader.c
mono_loader_lock_is_owned_by_self
2,127
2,133
false
[]
null
unrelated_in_commit
[ "CVE-2010-4159" ]
[]
source
null
nvd_patch_commit
0.5
false
null
[ { "dataset": "crossvul_2.0", "original_id": "good_4714_0::mono_loader_lock_is_owned_by_self#0", "original_label": "good_unchanged", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null } ]
1
1
crossvul
CC-BY-4.0 (CrossVul, Nikitopoulos et al. FSE'21)
train
project_time
{"commit_url": "https://github.com/mono/mono/commit/8e890a3bf80a4620e417814dc14886b1bbd17625", "changed_units_in_commit": 1}
2a70c217813ebfec3a99351bd976063bf026883baabeee7c90ba9fe72ed69910
c_or_cpp
function
static void _delay_rpc(int host_inx, int host_cnt, int usec_per_rpc) { struct timeval tv1; uint32_t cur_time; /* current time in usec (just 9 digits) */ uint32_t tot_time; /* total time expected for all RPCs */ uint32_t offset_time; /* relative time within tot_time */ uint32_t target_time; /* desired time to issue...
2a70c217813ebfec3a99351bd976063bf026883baabeee7c90ba9fe72ed69910
a1d28f245a75926276290f1d48ce44e9507b8232494c4542de664cd32278c6c1
2a70c217813ebfec3a99351bd976063bf026883baabeee7c90ba9fe72ed69910
2
true
false
slurm
https://github.com/schedmd/slurm
92362a92fffe60187df61f99ab11c249d44120ee
2017-01-05
cve_published
null
null
null
null
false
[]
null
unrelated_in_commit
[ "CVE-2016-10030", "CVE-2018-10995" ]
[ "CWE-20", "CWE-284" ]
hub_fix_commit
source
prime_vul
0.75
false
+0.05 agreement of 4 datasets
null
[ { "dataset": "bigvul_msr20", "original_id": "row:72060", "original_label": "0", "label_source": "nvd_patch_commit", "label_confidence": 0.5, "is_vulnerable": false, "source_split": null }, { "dataset": "crossvul_2.0", "original_id": "good_4770_1::_delay_rpc#0", "original_...
4
4
primevul
MIT (PrimeVul, Ding et al. ICSE'25)
train
primevul_official
{"primevul_hash": 194002014973281388004805387403985115622, "big_vul_idx": 72060}
End of preview. Expand in Data Studio

cyberset

A unified, defensively-oriented security ML dataset: a CVE knowledge hub (CVE / NVD / OSV / GHSA / CWE / CAPEC / ATT&CK / KEV / EPSS), vulnerable vs. patched code with label provenance and confidence, Joern code graphs for every public function, and harmonised network flows from 12 public IDS datasets linked to CWE / CAPEC / ATT&CK and, where available, CVEs.

Personal research project by mvd001. Contact: m.v.dodiya001@gmail.com. Defensive / academic use. The same files (byte-identical except network/net_flow, see Differences from the bucket) are also in the public storage bucket hf://buckets/mvd001/cyberset.

No exploit code, malware, packet captures or payload bytes are included. Exploit-DB appears only as EDB IDs linked to CVEs; network data is flow features only (payload_head is always NULL). Sources whose licence does not allow redistribution (DiverseVul, ReposVul, CleanVul, Devign, UNSW-NB15) are published as IDs, hashes and labels only, with rebuild scripts.

⚠️ NON-COMMERCIAL RESEARCH USE ONLY — network/net_flow/dataset=nf_uq_nids_v2/. NF-UQ-NIDS-v2 (University of Queensland, licence "Permitted Re-Use with Commercial Use Restriction") is derived from UNSW-NB15, BoT-IoT and ToN-IoT (academic-only datasets from UNSW Canberra) and CSE-CIC-IDS2018. Commercial use requires the authors' agreement. If you use it you must cite Sarhan, Layeghy & Portmann (2022) and the upstream papers: Moustafa & Slay 2015 (UNSW-NB15), Koroniotis et al. 2019 (BoT-IoT), Moustafa 2021 / Alsaedi et al. 2020 (ToN-IoT) and Sharafaldin et al. 2018 (CSE-CIC-IDS2018) — BibTeX keys sarhan2022nfv2, nfuqnidsv2data, moustafa2015unswnb15, koroniotis2019botiot, moustafa2021toniot, alsaedi2020toniot, sharafaldin2018cicids in CITATIONS.bib.

⚖️ GPL-3.0 (share-alike) — code/gpl/megavul/. The MegaVul-derived folder is GPL-3.0, unlike the rest of the code tier; see the MegaVul section below and code/gpl/megavul/LICENSE.

Configs

load_dataset("mvd001/cyberset", "<config>") — every config is plain zstd Parquet, so it also streams (streaming=True) and works with DuckDB / Polars / pandas over hf://datasets/mvd001/cyberset/....

config rows splits licence content
code 2,212,564 train 1,764,889, validation 223,089, test 224,586 per-row source_license (CC-BY-4.0 / MIT / public domain); code keeps upstream project licences deduplicated vulnerable / non-vulnerable functions from public sources (PrimeVul, CVEfixes, MoreFixes, CrossVul, Big-Vul, Juliet, Draper)
code_megavul_gpl 232,273 train 172,247, validation 49,440, test 10,586 GPL-3.0 (share-alike) MegaVul C/C++ + Java functions not already in code (same columns + near_dup_in_public_tier)
code_megavul_overlap_map 176,892 train GPL-3.0 MegaVul records already in code → existing row
code_megavul_label_conflicts 1,314 train GPL-3.0 MegaVul label conflicts
code_restricted_index 552,944 train IDs / hashes / labels only (DiverseVul, ReposVul, CleanVul, Devign) ID-only index of restricted sources, no code
code_label_conflicts 21,379 train as code every sample whose sources disagree on the label
code_graphs 12,026,550 train 9,588,630, validation 1,217,838, test 1,220,082 Joern (Apache-2.0) output; graphs follow the function's source_license Joern AST/CFG/CDG/DDG/PDG/CALL graphs of code functions, 6 rows per function, join on sample_id
code_graph_status 2,207,494 train as code per-function graph outcome (ok / no_graph / parse_failed / timeout)
code_graph_vocab_node_type 27 train Apache-2.0 (Joern labels) nodes.type id → Joern node label
code_graph_vocab_token 3,223,064 train as code nodes.token id → token string
code_graph_vocab_edge_type 6 train Apache-2.0 (Joern labels) edge type ids
kb_vuln 400,870 train CVE ToU / NVD / OSV / GHSA CC-BY-4.0 / MITRE / KEV / EPSS (per-row source_license) one row per CVE: CVSS, CWE, CAPEC, ATT&CK, EPSS, KEV, CPE, fix commits, Exploit-DB IDs, ET Open SIDs
kb_taxonomy 1,416 train MITRE CWE/CAPEC/ATT&CK terms CWE→CAPEC→ATT&CK closure + curated network attack families
kb_weakness 1,450 train MITRE CWE terms CWE 4.20 weaknesses / categories / views
kb_capec 615 train MITRE CAPEC terms CAPEC 3.9 attack patterns
kb_attack 858 train MITRE ATT&CK terms ATT&CK Enterprise 19.2 techniques
kb_ids_rules 72,048 train ET Open BSD / GPLv2 per sid (metadata only) ET Open rule metadata + CVE refs (no rule bodies)
net_flow 439,751,219 full per-dataset (see table) — includes the NON-COMMERCIAL nf_uq_nids_v2 all harmonised flows, 13 datasets (≈440 M rows; prefer a per-dataset config)
net_flow_iot23 325,309,946 full see network licence table network/net_flow/dataset=iot23/
net_flow_nf_uq_nids_v2 75,987,976 full NON-COMMERCIAL research use only network/net_flow/dataset=nf_uq_nids_v2/
net_flow_ctu13 19,976,700 full see network licence table network/net_flow/dataset=ctu13/
net_flow_cse_cic_ids2018 16,232,943 full see network licence table network/net_flow/dataset=cse_cic_ids2018/
net_flow_cic_ids2017 2,099,971 full see network licence table network/net_flow/dataset=cic_ids2017/
net_flow_maccdc 110,978 full see network licence table network/net_flow/dataset=maccdc/
net_flow_nccgroup_f5_honeypot 11,248 full see network licence table network/net_flow/dataset=nccgroup_f5_honeypot/
net_flow_cse_cic_ids2018_pcap_ids 10,626 full see network licence table network/net_flow/dataset=cse_cic_ids2018_pcap_ids/
net_flow_container_honeypot_raid2023 6,429 full see network licence table network/net_flow/dataset=container_honeypot_raid2023/
net_flow_exploit_pcap 3,993 full see network licence table network/net_flow/dataset=exploit_pcap/
net_flow_darpa1999 366 full see network licence table network/net_flow/dataset=darpa1999/
net_flow_first2015_netforensics 42 full see network licence table network/net_flow/dataset=first2015_netforensics/
net_flow_cic_ids2017_pcap_ids 1 full see network licence table network/net_flow/dataset=cic_ids2017_pcap_ids/
net_cve_linked 141,097 full as the source dataset (see dataset column) the 141,097 net_flow rows with at least one CVE id (all datasets)
net_alert 180,785 full derived Suricata output over public pcaps Suricata ET Open alerts, one row per flow × rule
net_capture 4,169 full metadata one row per source capture / file
net_restricted_index_unsw_nb15 2,797,720 full academic-only — IDs + labels + GT CVE ids only UNSW-NB15 flow IDs and labels (no features)

Notes

  • Code configs use the dataset's own splits: files train-*, val-*, test-* → splits train, validation, test (the split column keeps train / val / test). code_graphs uses the split= folders, i.e. the same split as the function in code.
  • Network configs have one split, full: flows are not stored split-wise, so filter on the split column (train / val / test, 80/10/10 in time per day / scenario) or hold out a whole holdout_group for cross-dataset evaluation.
  • 🤗 datasets does not add Hive partition columns, so language (code / graph configs) and dataset (big net_flow partitions) are not columns there; use language_detail / frontend, the per-dataset net_flow_<dataset> configs, or DuckDB with hive_partitioning=true. net_flow, net_cve_linked and the small pcap-derived datasets do carry a dataset column in this repo.
  • net_flow (≈440 M rows, ≈19 GB) is large: stream it, pick a per-dataset config, or push filters down (load_dataset(..., filters=[("label_confidence", ">=", 0.6)])).

Quickstart

from datasets import load_dataset

code = load_dataset("mvd001/cyberset", "code", split="train", streaming=True)
strict = code.filter(lambda r: r["label_confidence"] >= 0.6 and r["label_source"] not in ("synthetic", "static_analyzer"))
print(next(iter(strict))["func_name"])

kb = load_dataset("mvd001/cyberset", "kb_vuln", split="train")            # 400,870 CVEs, ~84 MB
flows = load_dataset("mvd001/cyberset", "net_flow_cic_ids2017", split="full", streaming=True)
-- DuckDB: CVE-linked flows joined to the knowledge hub
SELECT f.dataset, c.cve_id, c.cvss_v3.base_score, c.in_kev, count(*) AS flows
FROM read_parquet('hf://datasets/mvd001/cyberset/network/net_cve_linked/*.parquet') f, unnest(f.cve_ids) AS u(cve)
JOIN read_parquet('hf://datasets/mvd001/cyberset/kb/vuln_kb.parquet') c ON c.cve_id = u.cve
GROUP BY ALL ORDER BY flows DESC LIMIT 10;

More in examples/: quickstart.py (every config, DuckDB over hf://, code ↔ code_graphs join on sample_id, net_flow ↔ kb_vuln via cve_ids, label-confidence filtering, a code_graphs row → PyTorch Geometric Data) and quickstart.ipynb. All snippets were run against this repo.

Licence (license: other)

There is no single licence: each config (and each row, via source_license) follows its upstream source. Summary — full table under Licenses and in LICENSE.md:

configs terms
kb_* CVE Program Terms of Use, NVD (US Gov; "This product uses data from the NVD API but is not endorsed or certified by the NVD."), OSV per ecosystem (Ubuntu CC-BY-SA-4.0), GHSA CC-BY-4.0, MITRE CWE / CAPEC / ATT&CK terms, CISA KEV, FIRST EPSS (attribution), Exploit-DB IDs only, ET Open rule metadata (BSD / GPLv2 per sid)
code, code_label_conflicts, code_graphs, code_graph_* per-row source_license: CVEfixes / MoreFixes / CrossVul / Draper CC-BY-4.0, PrimeVul / Big-Vul MIT, Juliet public domain; the functions keep their upstream project licences (repo_url); Joern (Apache-2.0) is only the tool
code_megavul_* GPL-3.0 (share-alike) — code/gpl/megavul/LICENSE
code_restricted_index, net_restricted_index_unsw_nb15 IDs / hashes / labels only — rebuild the content locally from the upstream datasets under their terms
net_flow_iot23, net_flow_ctu13 CC BY (Stratosphere Lab)
net_flow_cic_ids2017, net_flow_cse_cic_ids2018, net_flow_cse_cic_ids2018_pcap_ids, net_flow_cic_ids2017_pcap_ids UNB CIC research terms (cite Sharafaldin 2018; Engelen 2021 for 2017)
net_flow_nf_uq_nids_v2 (and therefore net_flow) NON-COMMERCIAL research use only (UQ "Permitted Re-Use with Commercial Use Restriction")
net_flow_maccdc, _darpa1999, _nccgroup_f5_honeypot, _container_honeypot_raid2023, _first2015_netforensics, _exploit_pcap, net_cve_linked, net_alert no explicit upstream licence — derived flow features / alerts and labels only, no pcaps or payloads

Differences from the bucket

  • network/net_flow/** and network/net_cve_linked/: feat_native is stored as list<struct<key: string, value: string>> instead of Arrow map<string,string> (🤗 datasets has no map type); same entries, same order. The big partitions (cic_ids2017, cse_cic_ids2018, ctu13, iot23, nf_uq_nids_v2) also get a dataset column so that all net_flow files share one schema. Everything else in those files is unchanged (row order, values, zstd, 100k-row groups). In DuckDB, map_from_entries(feat_native) gives the map back.
  • Repo-only files: network/net_cve_linked/part-0.parquet (141,097 CVE-linked flows), LICENSE.md, examples/, this card, and scripts/publish/ helpers for the repo. network/README.md has one extra note on the feat_native representation. Everything else is byte-identical to the bucket.
  • The bucket's README.md is replaced by this card (its content is reproduced below).

Layout

Path What Size
kb/ knowledge hub: vuln_kb, weakness_kb, capec_kb, attack_kb, taxonomy_map, ids_rules (Parquet, zstd) 85.0 MB
code/code_sample/language=<lang>/ deduplicated function/file-level vulnerable + non-vulnerable code, public sources only 938.7 MB
code/restricted_index/source_dataset=<ds>/ IDs, hashes and labels only (no code) for DiverseVul, ReposVul, CleanVul, Devign 66.1 MB
code/gpl/megavul/ GPL-3.0 (share-alike) MegaVul C/C++ + Java functions not already in code_sample, overlap_map.parquet, LICENSE 110.1 MB
code/label_conflicts.parquet every sample whose sources disagree on the label, with all votes and the resolution 1.8 MB
code/STATS.md code-tier row counts, dedup and conflict statistics
graphs/code_graph/language=*/split=*/shard-*.parquet Joern v4.0.645 code graphs (AST/CFG/CDG/DDG/PDG/CALL) of the public code_sample functions Apache-2.0 tool; graphs follow each row's source_license
graphs/graph_status/, graphs/vocab/, graphs/README.md, graphs/STATS.md per-function graph outcome, node-type/token/edge-type vocabularies, graph schema and statistics
network/net_flow/dataset=<ds>/ harmonised network flows (features + labels) for CIC-IDS2017, CSE-CIC-IDS2018, NF-UQ-NIDS-v2, CTU-13, IoT-23, plus CVE-linked flows from Suricata over public pcaps (CSE-CIC-IDS2018 and CIC-IDS2017 pcaps, MACCDC, DARPA 1999, WRCCDC, FIRST 2015, F5 / container honeypots) and CVE-tagged exploit pcaps 20,366.0 MB
network/net_alert/dataset=<ds>/ Suricata ET Open alerts on the published pcap-derived flows (one row per flow × rule; sid, rule CVEs, metadata) 7.0 MB
network/restricted_index/ UNSW-NB15 flow IDs + labels + GT CVE ids only, and rebuild_unsw_nb15.py 43.0 MB
network/net_capture.parquet, network/README.md, network/STATS.md per-capture summary, network schema/protocol docs, network statistics
network/net_cve_linked/ repo only: the CVE-linked subset of net_flow (all datasets, with a dataset column) 5.7 MB
README.md, LICENSE.md, CITATIONS.bib, sources.yaml, scripts/, examples/ this card, per-config licences, citations, download manifest with sha256s, full rebuild code, loading examples

Query directly, e.g. with DuckDB:

SELECT language, is_vulnerable, count(*) FROM read_parquet('hf://datasets/mvd001/cyberset/code/code_sample/*/*.parquet', hive_partitioning=true) GROUP BY ALL;

(or hf download mvd001/cyberset --repo-type dataset --local-dir ./cyberset and read locally).

Knowledge hub (kb/)

vuln_kb has one row per CVE (400,870 rows, rejected CVEs kept with cve_state='REJECTED') joining CVE List V5, NVD (CVSS v2/v3/v4, CWE, CPE), OSV + GHSA (ecosystems, fix commits with a heuristic score), CWE→CAPEC→ATT&CK closure, CISA KEV, EPSS, Exploit-DB (exploitdb_ids only) and the ET Open reference:cve index (ids_signatures: sid / msg / classtype, no rule bodies). Other tables: weakness_kb (CWE 4.20), capec_kb (CAPEC 3.9), attack_kb (ATT&CK Enterprise 19.2), taxonomy_map (CWE→CAPEC→ATT&CK closure + 25 curated network attack families with dataset label aliases), ids_rules (72,048 ET Open rules: metadata + CVE refs). Every table has a source_license column. Full column list and coverage statistics: scripts/README_hub.md and scripts/STATS_hub.md.

Code tier (code/code_sample)

2,212,564 rows — 299,716 vulnerable, 1,912,848 non-vulnerable — partitioned by language. One row per unique normalised function (or file, where a source only has files and no function could be found).

Schema

column meaning
sample_id sha256 of the normalised code (comments stripped string-aware, whitespace collapsed; identifiers kept). Primary key. Same as code_normalized_hash.
language, language_detail partition language (c_cpp, java, python, php, javascript, …) and finer detail (c, cpp, c_or_cpp, …)
granularity function or file
code, code_sha256 original code of the primary origin, and sha256 of that raw text
near_dup_cluster_id, near_dup_cluster_size MinHash-LSH cluster (token 5-grams, 128 splitmix64-seeded hash functions, 16 bands × 8 rows, edges kept if estimated Jaccard ≥ 0.8; id = smallest member sample_id)
is_cluster_representative one row per (cluster, split) — filter on it to train without near-duplicates
near_dup_of_test train row whose near-dup cluster also has a test member (possible leakage; drop for strict evaluation)
project, repo_url, commit_sha, commit_date, date_source provenance; date_source = commit or cve_published (fallback via the hub)
file_path, func_name, start_line, end_line location (when the source provides it)
is_vulnerable, vuln_lines resolved label; vuln_lines (Big-Vul only) are deleted-line numbers within the function
pair_id, pair_role links vulnerable ↔ patched versions; pair_role ∈ vuln, fix (post-fix version, not vulnerable), unrelated_in_commit (unchanged function from a fixed file)
cve_ids, cwe_ids, cve_link_source, cwe_link_source union over all origins; hub_fix_commit / hub_cve = filled in from kb/vuln_kb (commit sha → CVE, CVE → CWE)
label_source, label_confidence, label_conflict, confidence_notes, cleanvul_score label provenance (below)
origins list of every source record with this exact normalised code: dataset, original_id, original_label, label_source, label_confidence, is_vulnerable, source_split (includes ID-only sources)
n_origins, n_datasets, primary_source how many source records / datasets share this code; which one supplied code and metadata
source_license license of the primary source (the code itself keeps its upstream project license — see below)
split, split_strategy train / val / test and how it was assigned (below)
source_extra small JSON blob of source-specific fields (e.g. PrimeVul hash, Big-Vul CVSS, MoreFixes fix score)

Label provenance and confidence

label_source used for base confidence
prime_vul PrimeVul (one-function / NVD-description-matched fixes) vuln 0.90 · paired fix 0.85 · other benign 0.70
nvd_patch_commit CVEfixes, MoreFixes, CrossVul, Big-Vul (functions changed by a CVE fix commit) vuln 0.65 (+0.05 if the commit changed exactly one function) · fix 0.60 · unrelated_in_commit 0.50; −0.30 for test/vendor/minified paths; MoreFixes −0.25 when its fix score < 65; CrossVul file-level rows −0.15
synthetic Juliet C/C++ 1.3 (bad* vs good* functions) 1.0 (but synthetic style — models overfit to it)
static_analyzer Draper VDISC (flawfinder/cppcheck/clang SA labels) vuln 0.35 · not flagged 0.30
ID-only sources (restricted_index) diversevul_commit 0.60/0.50, reposvul_untangled 0.70/0.60 (vuln, by llm+static check) 0.50 (unchanged), manual_commit_review (Devign) 0.80/0.75, llm_heuristic (CleanVul) by score 4:0.80 3:0.70 2:0.45 1:0.30 0:0.15

Resolution for a sample_id seen in several records: every record votes with its confidence (CleanVul does not vote; it is only a confidence signal). The label with the highest single confidence wins (ties: higher summed confidence, then vulnerable). Agreement of ≥2 datasets adds +0.05 (cap 0.97); a conflict sets label_conflict=true and confidence = winner − 0.5 × best loser. CleanVul score ≥3 on the vulnerable version adds +0.10, ≤1 subtracts 0.20. All conflicts are in code/label_conflicts.parquet. Recommended filters: label_confidence >= 0.6 for supervised training, label_source <> 'static_analyzer' and <> 'synthetic' for real-world evaluation.

Splits

  1. PrimeVul official split kept intact (split_strategy='primevul_official'): any sample present in PrimeVul keeps PrimeVul's train/valid/test (valid → val); PrimeVul test is the protected external benchmark.
  2. Draper VDISC keeps its official split (draper_official); Juliet is split 80/10/10 per test case (testcase_random, good/bad of one case together).
  3. All other real-world rows: time-ordered, project-disjoint (project_time): projects are ordered by the median date of their rows; the most recent projects fill test (≈10 % of rows), the next val (≈10 %), the rest train. Projects holding >3 % of rows (e.g. the Linux kernel) are forced into train. Rows without a project fall back to pure time (time: ≥2023-01-01 test, 2022 val). Vulnerable/fixed pairs never straddle splits, except 13 pairs whose members PrimeVul itself put in different official splits (kept as-is so PrimeVul's split stays intact).

Statistics

See code/STATS.md for the full tables. Headline numbers:

  • source records staged: 3,317,124; unique normalised samples: 2,439,384 (exact duplicates removed: 877,740)
  • label conflicts: 21,379 samples (21,058 of them in the public table)
  • near-dup: 1,919,546 clusters over 2,212,564 public rows; 469,522 rows sit in non-singleton clusters; 85,822 train rows are near-dups of a test row

MegaVul — GPL-3.0 folder (code/gpl/megavul/)

⚖️ GPL-3.0 (copyleft / share-alike) — everything under code/gpl/megavul/. This folder is derived from MegaVul (Ni et al., MSR '24), which is released under the GNU General Public License v3.0. If you redistribute this folder, a modified version of it, or a dataset that incorporates it, you must do so under GPL-3.0 (include the licence text, keep the notices, and make the corresponding source available). It is kept apart from the permissively-licensed code/code_sample/ so that the rest of the bucket can be used without these terms. Licence text: code/gpl/megavul/LICENSE. Cite ni2024megavul (CITATIONS.bib).

What it is. MegaVul 2024-04 (CVE-linked fix commits crawled from 28 git hosting sites; function-level). Read from megavul_simple.json (+ commit dates / CVSS from cve_with_graph_abstract_commit.json) for C/C++ and Java; the Joern graph zips were not downloaded.

language MegaVul functions vulnerable non-vulnerable rows staged (vuln + patched + unchanged) already in code/code_sample (sample_ids) published here of which vulnerable
c_cpp 353,873 17,975 335,898 371,844 159,209 195,772 8,305
java 41,949 2,433 39,516 44,382 6,202 36,501 1,335

Mapping to code_sample. Same columns as code/code_sample (plus near_dup_in_public_tier), so the two can be unioned with union_by_name=true. Each MegaVul vulnerable function gives two rows sharing a pair_id: func_before → is_vulnerable=true, pair_role='vuln' (vuln_lines = removed lines of MegaVul's diff_func, numbered within the function) and func (after the fix) → pair_role='fix'; MegaVul's non-vulnerable functions → pair_role='unrelated_in_commit'. sample_id uses exactly the same normalisation and sha256 as the main tier, so ids are directly comparable. label_source='nvd_patch_commit' with the main tier's confidences (vuln 0.65, +0.05 when the commit changed one function; fix 0.60; unchanged 0.50; −0.30 for test/vendor paths), then the same multi-source resolution (votes from the restricted index count, CleanVul is a signal only). source_license='GPL-3.0', primary_source='megavul'; origins[].original_id = <language>:<index in megavul_simple.json>:<before|after|func>; source_extra keeps CVSS, CVE publish date, parent commit and MegaVul's graph path.

Deduplication. 176,892 MegaVul records (165,411 distinct sample_ids) were already in code/code_sample and are not republished here; overlap_map.parquet maps each MegaVul id to that existing row (its split, cluster, primary source and label; MegaVul's label agrees for 173,633 records and disagrees for 3,259). The existing public rows were not modified (their origins do not list MegaVul; use the map). Restricted-index samples that MegaVul also contains are published here with MegaVul's code, and the restricted labels appear in origins.

Near-duplicates and splits. MinHash-LSH exactly as in the main tier (signatures compared against every staged source, public and restricted; edges at estimated Jaccard ≥ 0.8). A MegaVul row that is a near-duplicate of an existing sample takes that sample's near_dup_cluster_id (near_dup_in_public_tier=true if the cluster has rows in code/code_sample): 42,349 rows. split_strategy='project_time': a project already in the main tier keeps its split; new projects are split with the main tier's median-date cut-offs (test ≥ 2023-12-07, val ≥ 2022-05-04; projects with > 3 % of rows → train), and vulnerable/fixed pairs never straddle splits (also when one half is already in the main tier). near_dup_of_test marks train rows whose cluster has a test row here or in code/code_sample (5,076 rows); is_cluster_representative is only set where the main tier has no representative for that (cluster, split). Because MegaVul's Java CVEs are recent, the Java split is val-heavy.

SELECT * FROM read_parquet(['hf://datasets/mvd001/cyberset/code/code_sample/*/*.parquet',
                            'hf://datasets/mvd001/cyberset/code/gpl/megavul/code_sample/*/*.parquet'], hive_partitioning=true, union_by_name=true);

Network tier (network/)

439,751,219 flows (90,639,991 benign/background, 349,111,228 malicious) from 13 public IDS datasets in one net_flow schema (NetFlow-style feat_core, CICFlowMeter feat_cic, first-32-packet feat_pkt_seq), partitioned by dataset, with harmonised label_family → CWE/CAPEC/ATT&CK and ground-truth / IDS-signature CVE links. UNSW-NB15 (academic-only) is an ID+label index with a rebuild script. No pcaps, payloads or malware. Details: network/README.md; statistics: network/STATS.md.

CVE-linked flows: 141,097 (246 distinct CVEs), up from 170 (2) — Suricata 7.0.10 + pinned ET Open CVE rules over public pcaps (CSE-CIC-IDS2018, CIC-IDS2017 (day by day), MACCDC, DARPA 1999, WRCCDC, FIRST 2015, NCC Group F5 and RAID-2023 container honeypots; ids_signature, confidence 0.30–0.50, alerts in network/net_alert/) and CVE-tagged exploit pcap collections (exploit_pcap, 0.6–0.95; the upstream repos have no licence, so only derived features and labels are published). CIC-IDS2017 raw pcap coverage complete — all 5 days (Monday–Friday) — 2,091,241 published cic_ids2017 flows matched to the pcap now have UTC ts_start / ts_end and feat_pkt_seq.

dataset flows malicious licence
iot23 325,309,946 294,449,255 CC BY (Stratosphere Lab)
nf_uq_nids_v2 75,987,976 50,822,681 NON-COMMERCIAL research use only (UQ; cite Sarhan et al. + upstream)
ctu13 19,976,700 444,699 CC BY (Stratosphere Lab)
cse_cic_ids2018 16,232,943 2,748,235 UNB CIC research terms (AWS Open Data)
cic_ids2017 2,099,971 505,431 UNB CIC research terms; Engelen et al. corrected flows
maccdc 110,978 110,978 no explicit licence (Netresec public share); derived features only
nccgroup_f5_honeypot 11,248 11,248 no licence file (NCC Group GitHub); derived features only
cse_cic_ids2018_pcap_ids 10,626 10,626 UNB CIC research terms (AWS Open Data); Suricata-derived
container_honeypot_raid2023 6,429 6,429 no explicit licence (Netresec share; Spahn et al. 2023); derived features only
exploit_pcap 3,993 1,237 no upstream licence — derived flow features + labels only, no pcaps/payloads
darpa1999 366 366 MIT LL public release (no explicit licence); derived features only
first2015_netforensics 42 42 no explicit licence (Netresec mirror); derived features only
cic_ids2017_pcap_ids 1 1 UNB CIC research terms; Suricata-derived
unsw_nb15 (restricted_index) 2,797,720 485,956 academic-only — IDs/labels only

⚠️ NON-COMMERCIAL RESEARCH USE ONLY — network/net_flow/dataset=nf_uq_nids_v2/. NF-UQ-NIDS-v2 (University of Queensland, licence "Permitted Re-Use with Commercial Use Restriction") is derived from UNSW-NB15, BoT-IoT and ToN-IoT (academic-only datasets from UNSW Canberra) and CSE-CIC-IDS2018. Commercial use requires the authors' agreement. If you use it you must cite Sarhan, Layeghy & Portmann (2022) and the upstream papers: Moustafa & Slay 2015 (UNSW-NB15), Koroniotis et al. 2019 (BoT-IoT), Moustafa 2021 / Alsaedi et al. 2020 (ToN-IoT) and Sharafaldin et al. 2018 (CSE-CIC-IDS2018) — BibTeX keys sarhan2022nfv2, nfuqnidsv2data, moustafa2015unswnb15, koroniotis2019botiot, moustafa2021toniot, alsaedi2020toniot, sharafaldin2018cicids in CITATIONS.bib.

Graph tier (graphs/)

Joern v4.0.645 (Apache-2.0) code graphs for the public code/code_sample functions: six representations per function (AST, CFG, CDG, DDG, PDG, CALL) as integer node lists (type, token vocab ids, relative line) and int32 [src, dst, etype] edge lists, zstd Parquet partitioned by language and split, joined on sample_id. Vocabularies are in graphs/vocab/; per-function outcomes are in graphs/graph_status/. Status as of 2026-10-04 07:22 IST: complete. 2,004,425 functions graphed (5.61 GB):

group planned graphed
p1_vuln_pairs 202,421 158,254
p2_realworld 436,806 398,115
p3_bigvul 70,553 68,580
p4_juliet 236,260 236,226
p5_draper 1,266,524 1,143,250

Details: graphs/README.md (schema, reprs, construction, limitations) and graphs/STATS.md.

Licenses

Per-row source_license names the license of the dataset that supplied the row.

Source License In this dataset
CVE List V5 CVE Program Terms of Use kb
NVD US Gov public data — This product uses data from the NVD API but is not endorsed or certified by the NVD. kb
OSV per ecosystem (CC-BY-4.0 / CC0 / Apache-2.0 / MIT; Ubuntu records CC-BY-SA-4.0, flagged in source_license) kb
GHSA CC-BY-4.0 kb
MITRE CWE / CAPEC / ATT&CK MITRE terms of use (royalty-free; © The MITRE Corporation) kb
CISA KEV US Gov public kb
EPSS FIRST EPSS terms (attribution) kb
Exploit-DB GPL-2.0-or-later EDB IDs + CVE links only
ET Open BSD / GPLv2 per sid rule metadata only
CVEfixes v1.0.8 CC-BY-4.0 (data), MIT (code) code
MoreFixes (dump 2026-06-20) CC-BY-4.0 on Zenodo; tool MIT/Apache-2.0; reuses NVD/GHSA code
CrossVul 2.0 CC-BY-4.0 code
PrimeVul MIT code
Big-Vul (MSR'20) MIT code
Draper VDISC CC-BY-4.0 code
Juliet C/C++ 1.3 (NIST SARD) public domain (17 USC 105) code
DiverseVul no license IDs/hashes/labels only
ReposVul no license IDs/hashes/labels only
CleanVul no license IDs/hashes/labels/scores only
Devign (CodeXGLUE) C-UDA IDs/hashes/labels only
MegaVul (2024-04) GPL-3.0 (copyleft / share-alike) code, separate folder code/gpl/megavul/ only
CIC-IDS2017 (Engelen et al. 2021 corrected flows) UNB CIC research terms; cite Sharafaldin 2018 + Engelen 2021 network (flow features + labels; via unofficial HF mirror)
CSE-CIC-IDS2018 (AWS Open Data) UNB CIC research terms; cite Sharafaldin 2018 network (flow features + labels)
NF-UQ-NIDS-v2 (UQ RDM) UQ 'Permitted Re-Use with Commercial Use Restriction' (non-commercial, attribution) network (flow features + labels)
CTU-13 (Stratosphere) CC BY network (flows, pcap-derived packet sequences; no pcaps)
IoT-23 (Stratosphere) CC BY network (Zeek flows + labels)
UNSW-NB15 academic / research use only flow IDs + labels + GT CVE ids only

Upstream code licenses. The functions themselves come from open-source projects (Linux, FFmpeg, QEMU, Chromium, …) and keep those projects' licenses (GPL, LGPL, Apache, MIT, …). Use repo_url to look them up and honour them if you redistribute.

Rebuilding the restricted parts. restricted_index lets you re-attach code locally: download DiverseVul / ReposVul / CleanVul / Devign yourself, run scripts/code/ingest_diversevul.py / ingest_restricted.py, and join on (source_dataset, original_id) or sample_id.

Known limitations

  • Weak ATT&CK links. attack_techniques come from MITRE's sparse, coarse CAPEC→ATT&CK mappings via the CWE→CAPEC closure (54.9 % of non-rejected CVEs get any technique). Treat them as weak labels.
  • Fix commits are skewed toward Linux kernel backports. The same kernel fix appears on kernel.org stable, torvalds/linux and GitHub mirrors (mirrors are not merged), so commit-based sources over-represent the kernel. The kernel is forced into the train split.
  • Unreviewed GHSA entries. GHSA includes unreviewed mirrors of NVD records; only 8.2 % of non-rejected CVEs are GitHub-reviewed (ghsa_reviewed).
  • Commit-mined labels are noisy. Not every function changed by a fix commit is vulnerable (PrimeVul measured 25–50 % label accuracy on older datasets). Use label_confidence, label_source and the conflicts table.
  • Synthetic and static-analyser data (Juliet, Draper) have very different distributions from real code; Draper labels are analyser output.
  • Missing metadata. PrimeVul's paper release has no repo URL/dates (CVE linked via the hub by commit sha where possible); Draper and Devign have no CVEs; dates fall back to CVE publication dates (date_source).
  • Dropped rows. Functions > 100,000 characters and minified code (average line > 400 characters) are dropped; empty/trivial bodies too.
  • MegaVul is GPL-3.0 and lives only in code/gpl/megavul/ (not merged into code/code_sample). OSV Ubuntu data is share-alike (CC-BY-SA-4.0).
  • Near-dup clustering uses LSH with star-linked buckets; a few unrelated samples may be chained into one cluster.
  • Graph tier: functions are parsed one by one without headers/build context (unresolved types, no macro expansion, CALL edges end at callee stubs, intra-procedural data flow only); token holds types rather than identifier names/literal values; functions Joern cannot recover a method from (fragmentary source records, header-less C++) are no_graph in graphs/graph_status/; languages without a Joern frontend (objc, scala, lua, shell, perl, …) are not graphed. See graphs/README.md.
  • Network tier: CIC-IDS2017 is from an unofficial mirror of the corrected CSVs (timestamps damaged); CSE-CIC-IDS2018 is the original, uncorrected CIC output (some S3 day files are truncated at 1,048,575 rows); NF-UQ-NIDS-v2 has no timestamps and is re-extracted from UNSW-NB15/BoT-IoT/ToN-IoT/CSE-CIC-IDS2018 pcaps (do not train on NF-CSE-CIC-IDS2018-v2 and test on cse_cic_ids2018); CTU-13 Background flows are unverified (benign, confidence 0.4); feat_pkt_seq exists only for CTU-13 infected-host flows (label leak if used as a feature across classes); ids_signature CVE links are weak. See network/README.md.
  • Same-dataset conflicts. Many conflicts are within one fix database (e.g. CVEfixes vs CVEfixes): a commit that only touched comments/whitespace makes the 'before' and 'after' versions identical after normalisation, or the same function text is 'before' in one fix and 'after' in another. These rows keep the higher-confidence label with reduced confidence and label_conflict=true; filter them out for clean training.
  • CVEfixes metadata DB. This build's CVEfixes run used metadata salvaged from a partial load (no cwe_classification, so CVEfixes CWEs come from the hub via CVE → CWE). scripts/code/load_cvefixes_meta.py (the rebuild path) also keeps cwe_classification, so a rebuild may add a few CWEs.

Skipped sources in this build

Rebuild

sources.yaml lists every downloaded file (URL, version, size, sha256, license; code-tier raw files were deleted after processing to save disk). scripts/run_all.sh rebuilds the hub; scripts/code/run_code_tier.sh re-downloads and rebuilds the code tier; scripts/net/ (netfetch.py, ingest_*.py, ctu13_pcapjoin.py, suricata_pass.sh, index_unsw.py, make_network_docs.py) rebuilds the network tier and scripts/net/ids/ (make_ruleset.py, make_suricata_conf.py, run_cse2018.py, run_pcap_urls.py, run_exploit_pcaps.py, build_unit.py, relabel_family.py) its Suricata / exploit-pcap CVE-linked traffic; scripts/publish/ exports and syncs.

Citation

Cite the upstream datasets you use — BibTeX for every source is in CITATIONS.bib. To cite cyberset itself:

@misc{mvd001_2026cyberset,
  author       = {{mvd001}},
  title        = {cyberset: a unified security ML dataset (knowledge hub, vulnerable/patched code, code graphs, network flows)},
  year         = {2026},
  howpublished = {Hugging Face dataset \url{https://huggingface.co/datasets/mvd001/cyberset}}
}
Downloads last month
315