Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
ArXiv:
DOI:
License:
File size: 9,017 Bytes
a19122b
c2b5da0
 
 
 
 
 
 
 
 
 
 
 
 
a19122b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c2b5da0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5514ce8
 
 
 
 
 
 
 
 
c2b5da0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5514ce8
 
 
 
 
 
 
 
 
 
 
c2b5da0
 
 
 
 
 
 
5514ce8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
---
task_categories:
- text-classification
language:
- en
license: cc-by-4.0
library_name: datasets
tags:
- vulnerability
- cybersecurity
- security
- cve
- mitre-attack
- attack-techniques
dataset_info:
  features:
  - name: id
    dtype: string
  - name: title
    dtype: string
  - name: description
    dtype: string
  - name: exploitation_techniques
    list: string
  - name: primary_impact
    list: string
  - name: secondary_impact
    list: string
  - name: techniques
    list: string
  - name: techniques_derived
    list: string
  - name: label_sources
    list: string
  - name: attack_version
    dtype: string
  splits:
  - name: train
    num_bytes: 691228
    num_examples: 1086
  - name: test
    num_bytes: 77015
    num_examples: 121
  download_size: 485452
  dataset_size: 768243
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: test
    path: data/test-*
---

# vulnerability-attack-techniques

This dataset maps **1,207 CVEs** to **MITRE ATT&CK (Enterprise) techniques**, joining
hand-curated mappings from the [MITRE Center for Threat-Informed Defense (CTID)](https://ctid.mitre.org/)
with vulnerability descriptions from
[CIRCL/vulnerability-scores](https://huggingface.co/datasets/CIRCL/vulnerability-scores).
It is intended for training and evaluating models that suggest candidate ATT&CK
techniques from a vulnerability description: CVSS tells you *how bad* a
vulnerability is, CWE *what kind of flaw* it is — ATT&CK tells defenders *what
adversary behavior to expect and detect*.

Every label in the `techniques` column was written by an analyst following the CTID
["Mapping ATT&CK to CVE for Impact" methodology](https://github.com/center-for-threat-informed-defense/attack_to_cve/blob/master/methodology.md),
which assigns each CVE up to three kinds of techniques: an **exploitation
technique** (how it is exploited), a **primary impact** (what exploitation
directly yields), and a **secondary impact** (what the attacker can do next).

This is the gold set of the paper
[*Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and
the Limits of LLM-Assisted Label Expansion*](https://arxiv.org/abs/2607.25572)
(arXiv:2607.25572). The classifier trained on it,
[CIRCL/vulnerability-attack-technique-classification-roberta-base](https://huggingface.co/CIRCL/vulnerability-attack-technique-classification-roberta-base),
runs in production on [Vulnerability-Lookup](https://vulnerability.circl.lu).

DOI: [10.57967/hf/9621](https://doi.org/10.57967/hf/9621)

## Label sources

| `label_sources` | CVEs | Origin |
|-----------------|------|--------|
| `ctid_cve` | 788 | [attack_to_cve](https://github.com/center-for-threat-informed-defense/attack_to_cve) (2021), ATT&CK v9 era |
| `ctid_kev` | 392 | [Mappings Explorer](https://center-for-threat-informed-defense.github.io/mappings-explorer/) KEV mappings, ATT&CK 16.1 |
| both | 27 | |

All technique IDs are normalized to **enterprise ATT&CK v19.1**: techniques revoked
since the original mappings are remapped to their successor via the STIX
`revoked-by` relationships (e.g. T1562 *Impair Defenses* → T1685 *Disable or
Modify Tools*), and Mobile/ICS techniques are dropped (enterprise domain only).

## ⚠️ `techniques` vs `techniques_derived`

The `techniques_derived` column contains labels from the automatically derived
CVE → CWE → CAPEC → ATT&CK chain maintained by
[CVE2CAPEC](https://github.com/Galeax/CVE2CAPEC). **Do not train on this
column.** Analysis of the chain shows a median fan-out of 4–20 techniques per
CVE and top-frequency techniques (e.g. T1574.007 on 53% of 2024 CVEs) that are
artifacts of the cross-framework table expansion, not descriptions of real
adversary behavior. The column is included as:

1. a candidate prior at inference time (restrict suggestions to techniques compatible with the CWE chain);
2. a baseline that a trained model must beat;
3. a comparison column for studying where the deterministic chain diverges from analyst judgment.

The full source analysis is documented in the
[VulnTrain documentation](https://github.com/vulnerability-lookup/VulnTrain/blob/main/docs/attack-techniques-dataset.md).

## Fields

| Field | Type | Description |
|-------|------|-------------|
| `id` | string | CVE identifier |
| `title` | string | Vulnerability title |
| `description` | string | Vulnerability description in English (model input) |
| `exploitation_techniques` | list[string] | CTID exploitation technique(s) |
| `primary_impact` | list[string] | CTID primary impact technique(s) |
| `secondary_impact` | list[string] | CTID secondary impact technique(s) |
| `techniques` | list[string] | Union of all curated techniques — the training target |
| `techniques_derived` | list[string] | CVE2CAPEC weak labels — **not** for training |
| `label_sources` | list[string] | `ctid_cve` and/or `ctid_kev` |
| `attack_version` | string | Enterprise ATT&CK version the IDs are normalized to |

## Label statistics

192 distinct techniques; 66 with at least 5 examples. Most CVEs carry 1–3
techniques. Top techniques: T1190 *Exploit Public-Facing Application* (348),
T1059 *Command and Scripting Interpreter* (262), T1203 *Exploitation for Client
Execution* (213), T1068 *Exploitation for Privilege Escalation* (189).

## Known limitations

- **Size**: ~1,200 CVEs supports a proof-of-concept, not a production model.
- **Selection bias**: both label sources over-represent exploited-in-the-wild
  vulnerabilities (the KEV set by construction).
- **Inherent task ceiling**: a CVE description describes a flaw, while ATT&CK
  describes attacker behavior around it — even human annotators disagree on
  such mappings. Models trained on this data should *suggest candidate
  techniques for analyst review*, not produce authoritative mappings.

## Usage

```python
from datasets import load_dataset

dataset = load_dataset("CIRCL/vulnerability-attack-techniques")

for entry in dataset["train"].select(range(3)):
    print(entry["id"], entry["techniques"], "-", entry["description"][:80])
```

## Licensing of upstream sources

The CTID mappings are Apache-2.0. Descriptions come from
[CIRCL/vulnerability-scores](https://huggingface.co/datasets/CIRCL/vulnerability-scores)
(CC BY 4.0). The `techniques_derived` column is derived from the GPLv3
[CVE2CAPEC](https://github.com/Galeax/CVE2CAPEC) project. MITRE ATT&CK® is a
registered trademark of The MITRE Corporation; ATT&CK content is used in
accordance with the [MITRE ATT&CK terms of use](https://attack.mitre.org/resources/legal-and-branding/terms-of-use/).

## Related artifacts

| Artifact | Location | DOI |
|----------|----------|-----|
| Released model trained on this dataset | [CIRCL/vulnerability-attack-technique-classification-roberta-base](https://huggingface.co/CIRCL/vulnerability-attack-technique-classification-roberta-base) | [10.57967/hf/9623](https://doi.org/10.57967/hf/9623) |
| LLM expansion dataset (negative result) | [CIRCL/vulnerability-attack-techniques-llm-scaling](https://huggingface.co/datasets/CIRCL/vulnerability-attack-techniques-llm-scaling) | [10.57967/hf/9622](https://doi.org/10.57967/hf/9622) |
| LLM-expanded comparison model | [CIRCL/vulnerability-attack-technique-classification-roberta-base-llm-expanded](https://huggingface.co/CIRCL/vulnerability-attack-technique-classification-roberta-base-llm-expanded) | [10.57967/hf/9624](https://doi.org/10.57967/hf/9624) |
| Code | [vulnerability-lookup/VulnTrain](https://github.com/vulnerability-lookup/VulnTrain) | — |
| Paper | [arXiv:2607.25572](https://arxiv.org/abs/2607.25572) | — |
| Paper LaTeX source + trainer logs | [vulnerability-lookup/cve-attack-mapping-paper](https://github.com/vulnerability-lookup/cve-attack-mapping-paper) | — |

## References

- [Vulnerability-Lookup](https://vulnerability.circl.lu) — the vulnerability data source
- [VulnTrain](https://github.com/vulnerability-lookup/VulnTrain) — generation pipeline (`vulntrain-dataset-attack-generation`)
- [Methodology documentation](https://github.com/vulnerability-lookup/VulnTrain/blob/main/docs/attack-techniques-dataset.md)
- [MITRE CTID attack_to_cve](https://github.com/center-for-threat-informed-defense/attack_to_cve) and [Mappings Explorer](https://center-for-threat-informed-defense.github.io/mappings-explorer/)
- [CVE2CAPEC](https://github.com/Galeax/CVE2CAPEC) by Galeax

## Citation

```bibtex
@misc{bonhomme2026mappingcvesmitreattck,
      title={Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion},
      author={Cédric Bonhomme and Alexandre Dulaunoy},
      year={2026},
      eprint={2607.25572},
      archivePrefix={arXiv},
      primaryClass={cs.CR},
      url={https://arxiv.org/abs/2607.25572},
}
```

## Acknowledgements

Developed at [CIRCL](https://www.circl.lu) in the context of the
[AIPITCH](https://www.science.nask.pl/en/research-areas/projects/12456)
project, co-funded by the European Union.