Skip to content

Frequently asked questions

For people deciding whether to trust or use the CWE-CVE root-cause benchmark: tool builders, researchers, CNAs and the CWE team. Generated by validations/faq.py from the dataset and the results files; every number is computed, not typed. Release 1.0.0-rc.3.

Trusting the labels

Where do the labels come from?

25,987 CVE records; 21,891 have one scorable root cause. The gold labels (13,076 scorable) are the MITRE CWE team's expert remaps from its 2022 and 2023 Top 25 work (6,131 and 6,645 records), plus 300 CVEs that CWE 5.0 itself lists as Observed Examples. Silver labels are public CWEs, used where expert labels do not exist: 1,809 published CVEs that fill thin CWEs (CISA ADP first, then the CNA), the 2025 Top 25 set of 7,086 CVEs with the CNA's CWE after MITRE's review, and 2,000 CVEs published after every evaluated model's release. Every record says where its label comes from (label_source, label_tier, lineage.label). Silver labels are never mixed into gold metrics.

How do we know MITRE's root CWE is correct?

No single source can prove a label right. Each gold label has several kinds of support, and we say which are independent of MITRE:

Support Independent of MITRE? How many
MITRE's written rationale quotes the description or a reference, and the cited pages were fetched and kept no, but anyone can check it evidence complete for 12,524 of 12,776 remap records
The CWE entry lists the CVE as an Observed Example of the root (CWE content team, separate process) partly 413 gold records
The CNA or NVD named the same root before MITRE's remap, through its own analysis yes 5,946 of 12,776 remap records (46.5%)
A public source switched to MITRE's root after the remap (MITRE shared its remaps with NIST; CNAs also updated) no: acceptance, not a second opinion 2,861
MITRE gave the same root when it remapped a CVE again a year later no 80 of 115 (70%)
A second expert reviews the label yes review pack and a 200-record audit sample ready; no verdicts yet

MITRE marked 1,363 remap labels as uncertain; they are kept and flagged (expert_uncertain), and they are never in tier A.

Didn't the CNA or NVD just copy MITRE?

Sometimes, and we separate the two cases. MITRE's methodology says its remaps were shared with NIST to update NVD, and NVD's public change history shows them as "CWE Remap" events. For each remap record we compared each source's CWE at the snapshot MITRE worked from (2022-06-13 for 2022, 2023-03-27 for 2023) with its CWE today. NVD named MITRE's root on its own before the remap for 3,595 records and adopted it afterwards for 2,952. The CNA named it before for 3,303 and adopted it afterwards for 222. Only the "before" cases count as independent agreement (public_agreement, public_root_history). Over all sources, 5,946 remap records (46.5%) had a public source naming MITRE's root before the remap, 2,861 (22.4%) only after it, and for 3,969 (31.1%) no public source names it today. "Before" means the other source did not copy MITRE; it does not mean MITRE did not see it. MITRE remapped from NVD's data, so in these cases MITRE reviewed the public CWE and kept it: two analyses agree, but MITRE's was not blind to the other.

How noisy are the labels?

Not measured yet. A 200-record stratified audit with two independent reviewers is prepared (review/audit/, analysis validations/label_noise.py). Until it returns, the indirect signs are in results/label_noise.md; none of them is an error rate.

What do gold, silver, tier A/B/C and public-root-match mean?

  • gold / silver: who made the label (expert / public source). The known-good tier is set on every record, gold and silver: A 8,520, B 13,371, C 2,680.
  • Tier A (8,520 gold records): no reason to doubt the label: expert label, single root, evidence complete, not flagged uncertain, an allowed CWE (dataset/KNOWN_GOOD.md). Tier B: usable with a flag. Tier C: ambiguous root, not scored.
  • Public root match (8,531 gold records): MITRE's root is also named by the CNA, CISA ADP or NVD today, and the evidence is complete. It is the subset that can be shared first, because its label is already public. It is not, by itself, independent confirmation (previous answer): of its 8,413 remap records, a public source named the root before the remap for 5,620 and only after it for 2,793.

I think a label is wrong. What happens?

Tell us (dataset/Feedback.md). MITRE's labels are never edited in place: an accepted correction goes into a separate overrides file with who decided, when and why, and the CVE is flagged.

Using the benchmark

Which numbers should I report?

Root-cause accuracy on the remap view of the test split, with its 95% CI. It measures agreement with MITRE's root under CWE's mapping guidance, not correctness in an absolute sense (see the label-noise answer). Add macro accuracy (per CWE), tier A, and the fresh view if your tool is a language model. Do not mix silver labels into gold metrics; the scorer keeps them apart (--labels). Before saying one system beats another, compare them on the same records with a paired test: per-system confidence intervals are not enough.

Which fields may my tool read?

Give your tool dataset/splits/test_inputs.jsonl: the description, the references and their content, the publication date, the assigner and keyphrases, with every CWE id in the text masked. Not the CWE fields (nvd_cwes, cna_original_cwes, adp_cwes and the label fields): copying NVD's current CWE, or the CNA's where NVD has none, already scores 59.2% on the remap view, above every held-out model, partly because NVD adopted MITRE's remaps. The same applies to looking the CVE up live on NVD or CVE.org. If your tool does either, set public_cwe_lookup: true in the predictions file; the scorer shows it and such runs are reported apart.

What do baselines score?

System remap tier A fresh
earlier LLM agent (not clean held-out) 60.8% 72.2% –
NVD's own CWE 50.5% 54.6% 0.2%
gemini-3.5-flash-lite, description only 49.4% 50.0% 54.0%
kNN on descriptions + references 45.3% 49.3% 23.6%
TF-IDF vs CWE text (no labels) 27.7% 34.3% 37.5%

NVD's low fresh score is not a wrong analysis: NVD had given a CWE for only 4 of the 2,000 fresh CVEs when the data was taken. The earlier agent was developed while comparing against these same MITRE labels, so its scores are not held-out. All systems and views: results/headline_views.md.

The headline metric is strict: the root must match. The scorer also reports graded closeness (parent, child, sibling, same pillar) and set metrics, so a near miss is visible; use them alongside, not instead (scorer/README.md).

Is the benchmark contaminated for language models?

Possibly a little, and we give you a clean check. On 2024 vs 2025 CVEs, gemini-2.5-flash-lite does +8.1 points better on those before its training cutoff than the controls explain [+3.5, +12.8]. But on the fresh view (CVEs published after every model's release), compared with recent CVEs on the same 80 CWEs, the models score higher on the fresh CVEs, not lower: +13.3, +19.2 and +20.0 points (gemini 2.5, 3.1, 3.5), against +4.8 for the non-LLM controls. Memorisation would show the opposite. Why fresh CVEs are easier is not established yet; MITRE's corrections to the recent labels explain at most about 1.5 points of it. If you evaluate a model, report the fresh view too. Details: results/llm_contamination.md, review/critical_review.md (finding 5).

Is reference content included?

Yes, because MITRE's reasoning is often in the references, not the description (2,384 of 12,776 remap rationales cite only references). Summaries exist for 20,501 of 25,987 records. Raw page text is shipped only where the source's terms allow; the rest is rebuilt from the manifests with scripts/rebuild_refs.py. Fresh CVEs (2026) have links but no content.

Did a model write any of the data?

Only where marked. 35 reference summaries (21 distinct pages) were written by gemini-2.5-flash-lite (summary_method: llm:<model>), for pages with no extractive summary. No label, root or flag comes from a model. Model predictions and model-agreement scores are results, not dataset fields.

Coverage, licence and maintenance

Which CWEs are covered?

530 CWEs have at least 5 root-cause CVEs (244 from gold labels alone); View-1003 (the mapping view): 129 of 130 at 5 or more (106 gold alone). 118 CWEs have no usable example in the CVE List, and 51 more need an expert to choose the root in 85 multi-CWE CVEs. Per CWE: results/stats/cwe_coverage.md.

Why are the newest CWEs missing?

MITRE's expert labels are from 2022 and 2023; 25 CWEs in CWE 5.0 are newer and cannot have them. CVEs that name them are listed for future labelling (review/annotation_queue.csv).

Can I use and redistribute it?

Not yet. The licence is the one requirement that is not met: it needs the owner's choice and MITRE's terms for redistributing its labels (dataset/LICENSING.md). The release download is a placeholder until then.

Which of the site's requirements are met?

73 of 79 met; 1 blocking (the licence); 3 MUST requirements partly met for reasons the data cannot change, stated as caveats; 2 SHOULD/MAY open. Row by row with evidence: release/requirements_status.md.

How is it maintained?

Semantic versioning with a changelog. A refresh process is proposed: rebuild against the current CVE List and each new CWE release, with a fresh view of newly published CVEs at each refresh so model evaluations stay clean (dataset/MaintenancePlan.md). No schedule is promised until a maintainer is named.

File names in backticks refer to the benchmark's repository, which is published with the release.