mlsanityData to 7 Oct 2026

MegaVul: A C/C++ Vulnerability Dataset with Comprehensive Code Representation

arXiv 2406.12415 ↗First posted 18 Jun 2024cs.CR cs.SEcited by 27

Not on the map. Why?

Abstract (arXiv)

We constructed a newly large-scale and comprehensive C/C++ vulnerability dataset named MegaVul by crawling the Common Vulnerabilities and Exposures (CVE) database and CVE-related open-source projects. Specifically, we collected all crawlable descriptive information of the vulnerabilities from the CVE database and extracted all vulnerability-related code changes from 28 Git-based websites. We adopt advanced tools to ensure the extracted code integrality and enrich the code with four different transformed representations. In total, MegaVul contains 17,380 vulnerabilities collected from 992 open-source repositories spanning 169 different vulnerability types disclosed from January 2006 to October 2023. Thus, MegaVul can be used for a variety of software security-related tasks including detecting vulnerabilities and assessing vulnerability severity. All information is stored in the JSON format for easy usage. MegaVul is publicly available on GitHub and will be continuously updated. It can be easily extended to other programming languages.

Key facts. Cited by 27 papers in the map (data through 7 Oct 2026). First posted on arXiv 18 Jun 2024.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 11; 2026: 13.

27 papers.

Sort:

By area:

  1. 2025Benchmarking LLMs and LLM-based Agents in Practical Vulnerability Detection for Code Repositoriescited by 29
  2. 2024Investigating Large Language Models for Code Vulnerability Detection: An Experimental Studycited by 11
  3. 2025A Systematic Literature Review on Detecting Software Vulnerabilities with Large Language Modelscited by 8
  4. 2025VADER: A Human-Evaluated Benchmark for Vulnerability Assessment, Detection, Explanation, and Remediationcited by 5
  5. 2026From SFT to RL: Demystifying the Post-Training Pipeline for LLM-based Vulnerability Detectioncited by 4
  6. 2025Revisiting Pre-trained Language Models for Vulnerability Detectioncited by 3
  7. 2025VULPO: Context-Aware Vulnerability Detection via On-Policy LLM Optimizationcited by 3
  8. 2024Optimizing AI-Assisted Code Generationcited by 2
  9. 2025Data and Context Matter: Towards Generalizing AI-based Software Vulnerability Detectioncited by 2
  10. 2025A Multi-Dataset Evaluation of Models for Automated Vulnerability Repaircited by 1
  11. 2025Bridging Semantics & Structure for Software Vulnerability Detection using Hybrid Network Modelscited by 1
  12. 2026TOSSS: a CVE-based Software Security Benchmark for Large Language Modelscited by 1
15 more
  1. 2026VulnAgent-R2: Evidence-Calibrated Multi-Agent Auditing for Repository-Level Vulnerability Detectioncited by 1
  2. 2026Calibration Without Comprehension: Diagnosing the Limits of Fine-Tuning LLMs for Vulnerability Detection in Systems Softwarecited by 1
  3. 2026Beyond Refusal: A Same-Lineage Study of Aligned and Abliterated LLMs for Vulnerability Analysiscited by 1
  4. 2024Direction for Detection: A Survey of Automated Vulnerability Detection and all of its Pain Pointscited by 0
  5. 2025Resource-Efficient Automatic Software Vulnerability Assessment via Knowledge Distillation and Particle Swarm Optimizationcited by 0
  6. 2025From Lab to Reality: A Practical Evaluation of Deep Learning Models and LLMs for Vulnerability Detectioncited by 0
  7. 2025SoK: Understanding (New) Security Issues Across AI4Code Use Casescited by 0
  8. 2026Verify Before You Fix: Agentic Execution Grounding for Trustworthy Cross-Language Code Analysiscited by 0
  9. 2026MARGIN: Margin-Aware Regularized Geometry for Imbalanced Vulnerability Detectioncited by 0
  10. 2026A Comprehensive Evaluation of Code Language Models for Security Patch Detectioncited by 0
  11. 2026ASSEMBLAGE-DEEPHISTORY: A Cross-Build Binary Dataset with Temporal Coveragecited by 0
  12. 2026ALIBI: Adaptive Agentic Attacks on LLM-Based Vulnerability Detectors via Adversarial Code Commentscited by 0
  13. 2026CLEAR: Causal Context-Based Agentic Reasoning for Vulnerability Detectioncited by 0
  14. 2026Large Language Models at the Intersection of Software Engineering and Software Security:An Evidence-Centered Structured Survey and Research Agendacited by 0
  15. 2026The History Is the Detector: Executing CVE Patch History, End-to-Endcited by 0