Datasets:

Modalities:
Text
Formats:
json
ArXiv:
License:
Dataset Viewer
Auto-converted to Parquet Duplicate
CVE_ID
stringlengths
13
16
category
stringclasses
32 values
patches
listlengths
1
20
CVE-2008-1897
Fixes for Multiple Locations Across Different Branches or Projects
[ { "commit url": "https://github.com/jcollie/asterisk/commit/60de4fbbdf3ede49f158e23a9e3b679f2e519c1e", "owner": "jcollie", "repo_name": "asterisk", "commit_message": "Merged revisions 114558 via svnmerge from \nhttps://origsvn.digium.com/svn/asterisk/branches/1.4\n\n........\nr114558 | russell | 200...
CVE-2007-4398
Incomplete Fixes
[ { "commit url": "https://github.com/weechat/scripts/commit/7429c29a2fab6d7493c0188b5f631a7c2ae1533d", "owner": "weechat", "repo_name": "scripts", "commit_message": "Updated script now-playing.rb", "diff_code": "From 7429c29a2fab6d7493c0188b5f631a7c2ae1533d Mon Sep 17 00:00:00 2001\nFrom: Sebasti...
CVE-2007-3731
Incomplete Fixes
[ { "commit url": "https://github.com/torvalds/linux/commit/29eb51101c02df517ca64ec472d7501127ad1da8", "owner": "torvalds", "repo_name": "linux", "commit_message": "Handle bogus %cs selector in single-step instruction decoding\n\nThe code for LDT segment selectors was not robust in the face of a bogus...
CVE-2009-2691
Bug-Introducing Fixes
[ { "commit url": "https://github.com/torvalds/linux/commit/704b836cbf19e885f8366bccb2e4b0474346c02d", "owner": "torvalds", "repo_name": "linux", "commit_message": "mm_for_maps: take ->cred_guard_mutex to fix the race with exec\n\nThe problem is minor, but without ->cred_guard_mutex held we can race\n...
CVE-2009-2695
Bug-Introducing Fixes; Incomplete Fixes
[ { "commit url": "https://github.com/torvalds/linux/commit/1d9959734a1949ea4f2427bd2d8b21ede6b2441c", "owner": "torvalds", "repo_name": "linux", "commit_message": "security: define round_hint_to_min in !CONFIG_SECURITY\n\nFix the header files to define round_hint_to_min() and to define\nmmap_min_addr...
CVE-2009-3002
Multi-Location Fixes;
[ { "commit url": "https://github.com/torvalds/linux/commit/17ac2e9c58b69a1e25460a568eae1b0dc0188c25", "owner": "torvalds", "repo_name": "linux", "commit_message": "rose: Fix rose_getname() leak\n\nrose_getname() can leak kernel memory to user.\n\nSigned-off-by: Eric Dumazet <eric.dumazet@gmail.com>\n...
CVE-2009-3613
Bug-Introducing Fixes
[ { "commit url": "https://github.com/torvalds/linux/commit/97d477a914b146e7e6722ded21afa79886ae8ccd", "owner": "torvalds", "repo_name": "linux", "commit_message": "r8169: use hardware auto-padding.\n\nIt shortens the code and fixes the current pci_unmap leak with\npadded skb reported by Dave Jones.\n...
CVE-2009-3623
Incomplete Fixes
[ { "commit url": "https://github.com/torvalds/linux/commit/80fc015bdfe1f5b870c1e1ee02d78e709523fee7", "owner": "torvalds", "repo_name": "linux", "commit_message": "nfsd4: use common rpc_cred for all callbacks\n\nCallbacks are always made using the machine's identity, so we can use a\nsingle auth_gene...
CVE-2009-4272
Bug-Introducing Fixes
[ { "commit url": "https://github.com/torvalds/linux/commit/73e42897e8e5619eacb787d2ce69be12f47cfc21", "owner": "torvalds", "repo_name": "linux", "commit_message": "ipv4: fix NULL pointer + success return in route lookup path\n\nDon't drop route if we're not caching\t\n\n\tI recently got a report of a...
CVE-2010-0291
Incomplete Fixes
[{"commit url":"https://github.com/torvalds/linux/commit/f106af4e90eadd76cfc0b5325f659619e08fb762","(...TRUNCATED)
End of preview. Expand in Data Studio

Description

This dataset accompanies the paper Why Not Fix It Once and for All? An Empirical Study of Multiple Patches for Vulnerability Fixes in Open-Source Software. It contains 1,581 manually annotated and cleaned records of vulnerabilities fixed by multiple patches.

Data Structure

MultiPatch is stored in jsonl format. Each line corresponds to one CVE and contains the following keys.

{
  "CVE_ID": "the CVE identifier, e.g. CVE-2021-3156, type: str",
  "category": "one or more categories from the list below, type: str",
  "patches": [
    {
      "commit_url": "URL of the fix commit, type: str",
      "diff_code": "the diff code of the patch, type: str",
      "owner": "the owner id of the repository, type: str", 
      "repo_name": "the repository name, type: str", 
      "commit_message": "commit message, type: str"
    }
  ]
}

Category. A CVE may belong to one or more of the following categories:

  • Fixes for Multiple Locations Across Different Branches or Projects
  • Incomplete Fixes
  • Fix and Documentation Updates
  • Bug-Introducing Fixes
  • Multi-Location Fixes
  • Workaround and Formal Fix

Citation

@article{qi2026not,
  title={Why Not Fix It Once and for All? An Empirical Study of Multiple Patches for Vulnerability Fixes in Open-Source Software},
  author={Qi, Weiliang and Li, Youpeng and Wang, Xinda},
  journal={arXiv preprint arXiv:2607.13206},
  year={2026}
}
Downloads last month
29

Paper for XSec-Lab/MultiPatch