← Lab /AI/ML

FixV2W predicts correct CWE mappings for 69% of previously invalid CVE entries

FixV2W can correct invalid CVE-CWE mappings, achieving 69% top-10 accuracy and raising MRR from 0.174 to 0.608

AI/ML arXiv 24 Apr 2026 Method Prototype evidence

Published as “FixV2W: Correcting Invalid CVE-CWE Mappings with Knowledge Graph Embeddings”

Why it matters

Correcting invalid CVE-CWE mappings can make vulnerability databases more reliable and boost the accuracy of security-focused ML tools, potentially enabling earlier mitigation of exploitable flaws.

Summary

FixV2W automatically corrects prohibited and discouraged CVE-CWE mappings in the NVD using knowledge-graph embeddings, and the corrected database substantially improves downstream machine-learning models. Using real NVD remap updates, the method raises the open-world MRR from 0.173 to 0.608 and Hits@10 from 0.389 to 0.793 when the top-2 predictions are used. It also correctly predicts the root cause for 131 of 190 exploited CVEs that were originally mis-mapped. Evidence is strong, based on a large real-world dataset (280k+ CVEs) and comparisons to prior graph-completion work, though exact-match rates remain low (≈12% top-1).

What they found 4

  1. More than half of CVE-CWE mappings in the NVD are invalid

    “our evaluation of NVD entries as of December 2024 finds that 55% of all CVEs in the NVD are mapped to invalid CWEs.”

  2. A large majority of KEV CVEs were originally mapped to discouraged or prohibited CWEs

    “we find that 99 of them were originally mapped to Discouraged or Prohibited CWE.”

  3. FixV2W top-2 predictions dramatically improve downstream KG completion performance

    “improving the MRR score from 0.173 to 0.608 and the Hits@10 score from 0.389 to 0.793, compared to the model of [45] .”

  4. FixV2W can correctly predict the root cause for 131 of 190 exploited CVEs

    “Our model is able to correctly predict the root cause for 131 of them, which means that FixV2W could have correctly identified the underlying weaknesses and possibly prevented these CVEs from being exploited.”

Caveats 6

  • The Top-1 match percentage is low, limiting fully automated correction: "The Top-1 match percentage, however, is quite low at 12.84% and inadequate for performing the automated correction task on these predictions alone."
  • Exact-match coverage for prohibited mappings remains modest: "We achieve an exact match coverage that is twice as much 9.44%"
  • Too many candidates introduce some issues such as unrelated but popular CWE ranking high due to node centrality.
  • If the original mapping is incorrect, this can constrain the search to the wrong subtree.
  • May exclude correct CWEs if they lie in a different branch due to NVD misclassifications, too many candidates may confuse the model.
  • When there are fewer than 10 descendants to replace a Discouraged CWE, we consider an extended candidate entity set, which we refer to as family.

What’s new here 4

  • automatically corrects prohibited and discouraged CVE-CWE mappings using KG embeddings without semantic features
  • defines candidate sets informed by longitudinal analysis of CWE hierarchy (descendants, family, members, nearest neighbors)
  • evaluates under an open-world assumption using real NVD remap updates as ground truth
  • shows that fixing mappings improves the performance of downstream graph-completion models