What’s Out There
← Back to swiping
Internet & techFreeAcademic

CVEfixes: vulnerabilities and their fixes from open-source software

Moonen & Vidziunas

Security vulnerabilities linked to the exact code changes that fixed them.

A dataset automatically collected from CVE records in the U.S. National Vulnerability Database, linking each vulnerability to its fixing commits, files, and methods in open-source repositories. Release v1.0.8 covers all published CVEs up to 23 July 2024. It supports machine learning for vulnerability detection.

Access

Cost
FreeFree download from Zenodo; no account needed.
License
Open licenseCC BY 4.0
Sign-up
No sign-up
How you get it
Bulk downloadZIP (SQL database)

What's in it

One row is
One CVE, with linked commits, files, and methods at several levels of detail
Covers
Global (open-source projects)
Years
CVEs up to July 2024
Updated
Irregular
Size
Thousands of CVEs and many more commits and methods
CVE IDfixing commitfile changesmethod-level coderepositoryCWE categoryseverity score

Quality

4 of 5

Automatically collected with a documented pipeline and numbered releases; links can be wrong.

  • Only open-source projects with identifiable fix commits
  • Fix identification is heuristic

Connects to

  • National Vulnerability Database: Source of CVE records
  • Big-Vul: Another vulnerability-fix data set for model training
  • Common Weakness Enumeration: Category taxonomy for the weakness types

Questions it could answer

  • Which weakness types are most common in fixed vulnerabilities?
  • How long do projects take to fix vulnerabilities?

Similar data sets

  • NVD (National Vulnerability Database) CVE API

    Every publicly known software vulnerability, scored for severity and tied to affected products.

    Internet & techNational Institute of Standards and Technology (NIST)Free

  • SWE-bench Verified

    500 real GitHub issues, human-checked, used to score whether AI can fix bugs in popular Python projects.

    Internet & techPrinceton NLP (with OpenAI)Free

  • Libraries.io Open Source Repository and Dependency Metadata

    Metadata on millions of open source packages and the dependencies between them, from many ecosystems.

    Internet & techKatz (Libraries.io)Free

  • The Stack v2

    Source code in more than 600 programming languages, with provenance tied to Software Heritage archives.

    Internet & techBigCode (Hugging Face and ServiceNow)Free

  • FAA Wildlife Strike Database

    Every reported collision between an aircraft and a bird, bat, deer, or coyote in the U.S. since 1990.

    OdditiesFederal Aviation AdministrationFree

  • NYC Housing Maintenance Code Violations

    Every verified housing code violation in a New York City rental building, with class and correction dates.

    Housing & citiesDepartment of Housing Preservation and Development (HPD), New York CityFree