references/cwe-catalog-summary.md

GitHub

CWE Catalog Summary

Generated by scripts/build_cwe_references.py from the local CWE catalog and XSD supplied to the skill.

Source

  • Catalog: CWE 4.20 dated 2026-04-30
  • Catalog namespace: http://cwe.mitre.org/cwe-7
  • Schema: Core Definition 7.3 dated December 11, 2025
  • Counts: 969 weaknesses, 422 categories, 59 views

How To Use This Corpus

  • Start with code evidence and a trust-boundary failure, then use the corpus to refine the root-cause weakness.
  • Prefer weaknesses with mapping usage Allowed or Allowed-with-Review; treat Discouraged and Prohibited entries as navigation aids unless the mapping notes justify an exception.
  • Prefer the most precise supported weakness over a broad Pillar, Class, Category, or View. Categories and Views organize the corpus and are not root-cause mappings.
  • Use view membership as coverage or prioritization context, not as a severity rating.
  • Use scripts/cwe_lookup.py for detail retrieval. Use references/cwe-weakness-index.md for fast grep-based browsing.

Catalog Shape

Dimension Values
Abstraction Base: 539, Class: 114, Compound: 7, Pillar: 10, Variant: 299
Structure Chain: 3, Composite: 4, Simple: 962
Status Deprecated: 25, Draft: 432, Incomplete: 486, Stable: 26
Mapping usage Allowed: 749, Allowed-with-Review: 93, Discouraged: 44, Prohibited: 83

Review-Oriented Views

View Type Status Weakness Members Use
CWE-699 Software Development Graph Draft 399 Primary software-development browsing view. Use it to scope common review surfaces by development concept.
CWE-1000 Research Concepts Graph Draft 944 Research graph. Use it to move between broad parents and precise child weaknesses while tracing root cause.
CWE-1003 Weaknesses for Simplified Mapping of Published Vulnerabilities Graph Incomplete 130 Simplified vulnerability-mapping graph. Use it when a finding needs a practical mapping candidate before refining it.
CWE-1435 Weaknesses in the 2025 CWE Top 25 Most Dangerous Software Weaknesses Graph Draft 25 2025 CWE Top 25 view from this catalog release. Use it as prioritization context, never as proof of severity.
CWE-1344 Weaknesses in OWASP Top Ten (2021) Graph Incomplete 182 OWASP Top Ten 2021 view. Use it when a review or report must align findings with the OWASP 2021 grouping.
CWE-1450 Weaknesses in OWASP Top Ten RC1 (2025) Graph Incomplete 246 OWASP Top Ten 2025 RC1 view. Use it only when the RC1 taxonomy is specifically relevant.
CWE-1448 Weaknesses Related to AI/ML Products Graph Incomplete 17 AI/ML product view. Use it when model inputs, training, inference, or agentic behavior are in scope.
CWE-658 Weaknesses in Software Written in C Implicit Draft 103 Implicit C-language view.
CWE-659 Weaknesses in Software Written in C++ Implicit Draft 97 Implicit C++-language view.
CWE-660 Weaknesses in Software Written in Java Implicit Draft 84 Implicit Java-language view.
CWE-661 Weaknesses in Software Written in PHP Implicit Draft 26 Implicit PHP-language view.
CWE-701 Weaknesses Introduced During Design Implicit Incomplete 297 Implicit design-introduction view.
CWE-702 Weaknesses Introduced During Implementation Implicit Incomplete 835 Implicit implementation-introduction view.
CWE-919 Weaknesses in Mobile Applications Implicit Incomplete 21 Implicit mobile-application view.

Generated Files

  • cwe-weakness-index.md: compact, line-oriented index of every weakness for grep and quick scanning.
  • cwe-review-views.md: review-oriented view descriptions, filters, and member lists.
  • cwe-schema-guide.md: XSD-derived field semantics and enumeration vocabulary.
  • cwe-records.jsonl: machine-readable record per weakness with mapping notes, relationships, detection methods, mitigations, and examples.
  • cwe-catalog-metadata.json: machine-readable catalog, schema, category, and view metadata.