ALPHAzero1233/All-CVE-Records-Training-Dataset
CVE Chat‑Style Multi‑Turn Cybersecurity Dataset (1999 – 2025) 1. Project Overview This repository hosts the largest publicly available chat‑style, multi‑turn cybersecurity dataset to date, containing ≈ 300 000 Common Vulnerabilities and Exposures (CVE) records published between 1999 and 2025. Each record has been meticulously parsed, enriched, and converted into a conversational format that is ideal for training and evaluating AI and AI‑Agent systems focused on… See the full description on the dataset page: https://huggingface.co/datasets/ALPHAzero1233/All-CVE-Records-Training-Dataset.
CVE Chat‑Style Multi‑Turn Cybersecurity Dataset (1999 – 2025)
 
1. Project Overview
This repository hosts the largest publicly available chat‑style, multi‑turn cybersecurity dataset to date, containing ≈ 300 000 Common Vulnerabilities and Exposures (CVE) records published between 1999 and 2025. Each record has been meticulously parsed, enriched, and converted into a conversational format that is ideal for training and evaluating AI and AI‑Agent systems focused on vulnerability analysis, threat intelligence, and cyber‑defense automation.
2. Key Highlights. Key Highlights
3. Intended Use Cases
- Fine‑tuning LLMs for vulnerability triage and severity prediction.
- Temporal trend analysis of vulnerability disclosures.
- Retrieval‑Augmented Generation (RAG) and autonomous AI‑Agent pipelines.
- Real‑time threat‑intelligence enrichment services.
- Automated penetration‑testing (pentest) orchestration.
Benchmark Note\ Early experiments with Llama 3.2 and Gemma models achieved 94 % accuracy on CVE class‑prediction tasks after full fine‑tuning on this dataset.
4. Dataset Structure
Each dialogue is stored as a single JSON Lines (`.jsonl`) object with three top‑level keys:
{
"System": "You are a cybersecurity expert specializing in penetration testing, vulnerability research, and exploit development. Provide comprehensive technical analysis of CVE vulnerabilities with academic rigor and practical exploitation insights.",
"User": "Provide a comprehensive technical analysis of CVE‑2010‑3763, including exploitation vectors, impact assessment, and remediation strategies.",
"Assistant": "## CVE‑2010‑3763 Vulnerability Details
### CVE Metadata
- **CVE ID**: CVE‑2010‑3763
- **State**: PUBLISHED
..."
}Field Reference
Note: Multi‑turn conversations are represented as separate JSONL lines that share the sameSystemcontext whileUserandAssistantevolve turn by turn.
5. Processing Pipeline. Processing Pipeline
- Source Aggregation – CVE XML feeds (4.0) + JSON feeds (5.0+).
- Asynchronous Parsing – Custom Rust & Python pipeline (Tokio + asyncio) for 100 % parsing success.
- Enrichment Layer – CVSS scoring, CWE classification, product‑matrix generation.
- Conversation Generation – Expert prompts injected to produce System / User / Assistant structure.
- Validation & QA – Schema checks, de‑duplication, manual spot‑checks.
6. Quick Start
Load with 🤗 datasets
from datasets import load_dataset
cve_chat = load_dataset("<username>/<repo_name>", split="train")
print(cve_chat[0])Finetune Example (PEFT & QLoRA)
python train.py \
--model "meta-llama/Meta-Llama-3-8B" \
--dataset "<username>/<repo_name>" \
--peft lora \
--bits 47. Data Splits
8. Contact
Contributions, feedback, and pull requests are warmly welcomed!
