WhatCyber / Weaknesses
Common software weaknesses (CWE)
The 50 weaknesses behind the most CVEs, with how many vulnerabilities each one causes and how many are known to be exploited. CWE is the Common Weakness Enumeration maintained by MITRE.
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') – 39,632 CVEs, 56 known exploited
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') – 15,047 CVEs, 53 known exploited
- CWE-787: Out-of-bounds Write – 13,052 CVEs, 276 known exploited
- CWE-862: Missing Authorization – 11,203 CVEs, 13 known exploited
- CWE-416: Use After Free – 9,111 CVEs, 188 known exploited
- CWE-125: Out-of-bounds Read – 8,748 CVEs, 31 known exploited
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') – 8,552 CVEs, 164 known exploited
- CWE-352: Cross-Site Request Forgery (CSRF) – 7,533 CVEs, 10 known exploited
- CWE-284: Improper Access Control – 6,996 CVEs, 36 known exploited
- CWE-20: Improper Input Validation – 6,494 CVEs, 95 known exploited
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') – 6,081 CVEs, 200 known exploited
- CWE-200: Exposure of Sensitive Information to an Unauthorized Actor – 5,640 CVEs, 22 known exploited
- CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') – 5,412 CVEs, 21 known exploited
- CWE-476: NULL Pointer Dereference – 5,327 CVEs, 1 known exploited
- CWE-863: Incorrect Authorization – 4,496 CVEs, 33 known exploited
- CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') – 4,131 CVEs, 43 known exploited
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer – 3,992 CVEs, 94 known exploited
- CWE-434: Unrestricted Upload of File with Dangerous Type – 3,957 CVEs, 47 known exploited
- CWE-918: Server-Side Request Forgery (SSRF) – 3,941 CVEs, 38 known exploited
- CWE-94: Improper Control of Generation of Code ('Code Injection') – 3,800 CVEs, 118 known exploited
- CWE-122: Heap-based Buffer Overflow – 3,738 CVEs, 21 known exploited
- CWE-400: Uncontrolled Resource Consumption – 3,586 CVEs, 7 known exploited
- CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') – 3,555 CVEs, 62 known exploited
- CWE-287: Improper Authentication – 3,488 CVEs, 66 known exploited
- CWE-639: Authorization Bypass Through User-Controlled Key – 3,369 CVEs, 1 known exploited
- CWE-502: Deserialization of Untrusted Data – 3,359 CVEs, 111 known exploited
- CWE-269: Improper Privilege Management – 3,348 CVEs, 26 known exploited
- CWE-121: Stack-based Buffer Overflow – 3,215 CVEs, 20 known exploited
- CWE-306: Missing Authentication for Critical Function – 3,158 CVEs, 73 known exploited
- CWE-190: Integer Overflow or Wraparound – 2,569 CVEs, 37 known exploited
- CWE-770: Allocation of Resources Without Limits or Throttling – 2,545 CVEs, 2 known exploited
- CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') – 2,487 CVEs, 20 known exploited
- CWE-401: Missing Release of Memory after Effective Lifetime – 2,184 CVEs, 3 known exploited
- CWE-601: URL Redirection to Untrusted Site ('Open Redirect') – 1,578 CVEs, 3 known exploited
- CWE-276: Incorrect Default Permissions – 1,456 CVEs, 5 known exploited
- CWE-798: Use of Hard-coded Credentials – 1,421 CVEs, 17 known exploited
- CWE-295: Improper Certificate Validation – 1,375 CVEs, 10 known exploited
- CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') – 1,289 CVEs, 2 known exploited
- CWE-266: Incorrect Privilege Assignment – 1,282 CVEs, 1 known exploited
- CWE-59: Improper Link Resolution Before File Access ('Link Following') – 1,243 CVEs, 35 known exploited
- CWE-427: Uncontrolled Search Path Element – 1,231 CVEs, 5 known exploited
- CWE-532: Insertion of Sensitive Information into Log File – 1,228 CVEs, 3 known exploited
- CWE-285: Improper Authorization – 1,220 CVEs, 2 known exploited
- CWE-732: Incorrect Permission Assignment for Critical Resource – 1,189 CVEs, 8 known exploited
- CWE-522: Insufficiently Protected Credentials – 1,085 CVEs, 9 known exploited
- CWE-611: Improper Restriction of XML External Entity Reference – 1,010 CVEs, 13 known exploited
- CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition – 984 CVEs, 11 known exploited
- CWE-843: Access of Resource Using Incompatible Type ('Type Confusion') – 976 CVEs, 77 known exploited
- CWE-908: Use of Uninitialized Resource – 955 CVEs, 5 known exploited
- CWE-617: Reachable Assertion – 866 CVEs, 1 known exploited