Common Weakness Enumeration
Common Weakness Enumeration (CWE) is a categorized list of common types of software and hardware weaknesses that can lead to security problems. It gives security teams and developers a shared language for discussing and addressing the underlying flaws in code and design. CWE is maintained as a community project.
CWE is a community-sustained classification system that catalogs categories of software and hardware weaknesses and vulnerabilities, providing a common language of discourse for discussing, finding, and addressing the causes of such weaknesses. It structures coding and design flaws into distinct weakness types, organized across several hundred categories, to support consistent identification and remediation. CWE describes the underlying weakness classes (the root-cause flaw types), which is distinct from CVE, which identifies specific disclosed instances of vulnerabilities.
Why it matters
Common Weakness Enumeration matters because it gives security leaders, developers, and consultants a shared vocabulary for describing the root causes of security problems rather than just their symptoms. When a security assessment or code review flags an issue, referencing a CWE category lets everyone from engineers to executives understand what class of flaw is involved and how it might be systematically addressed. This shared language reduces ambiguity and helps organizations prioritize remediation based on the underlying weakness type rather than treating each finding as an isolated event.
A key distinction that experienced practitioners insist on is that CWE describes weakness classes, the underlying flaw types in code and design, while CVE identifies specific disclosed instances of vulnerabilities in particular products. Confusing the two leads to muddled risk conversations. CWE helps you understand why a vulnerability exists and how to prevent similar ones; CVE tells you that a specific vulnerability has been reported. For governance and program development purposes, CWE is often more useful for shaping secure development practices and training, because it points to systemic root causes.
For a virtual or fractional security leader, CWE is a governance and communication tool, not a compliance guarantee. Referencing CWE categories in application security policies, developer guidance, and vendor conversations helps establish consistent expectations. However, its value depends on organizational maturity and whether development teams actually integrate weakness-awareness into their processes. CWE itself does not remediate anything; it provides a framework for discussing and organizing the work.
Who it's relevant to
Inside CWE
Common questions
Answers to the questions practitioners most commonly ask about CWE.