Weaknesses (CWE)

The weakness types behind the vulnerabilities we track, most-exploited first. Names from MITRE's CWE list.

CWENameExploited (KEV)Tracked CVEs
CWE-20Improper Input Validation119123
CWE-78Improper Neutralization of Special Elements used in an OS Command115142
CWE-787Out-of-bounds Write106119
CWE-416Use After Free96112
CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer8897
CWE-22Improper Limitation of a Pathname to a Restricted Directory82100
CWE-94Improper Control of Generation of Code7487
CWE-502Deserialization of Untrusted Data7386
CWE-287Improper Authentication5078
CWE-306Missing Authentication for Critical Functionality4396
CWE-843Access of Resource Using Incompatible Type3838
CWE-284Improper Access Control3752
CWE-77Improper Neutralization of Special Elements used in a Command3439
CWE-89Improper Neutralization of Special Elements used in an SQL Command3351
CWE-79Improper Neutralization of Input During Web Page Generation3348
CWE-122Heap-based Buffer Overflow3343
CWE-264Permissions, Privileges, and Access Controls3131
CWE-200Exposure of Sensitive Information to an Unauthorized Actor2536
CWE-434Unrestricted Upload of File with Dangerous Type2444
CWE-918Server-Side Request Forgery2427
CWE-288Authentication Bypass Using an Alternate Path or Channel2327
CWE-863Incorrect Authorization1935
CWE-269Improper Privilege Management1927
CWE-399Resource Management Errors1818
CWE-125Out-of-bounds Read1721
CWE-59Improper Link Resolution Before File Access1720
CWE-190Integer Overflow or Wraparound1717
CWE-862Missing Authorization1430
CWE-121Stack-based Buffer Overflow1224
CWE-362Concurrent Execution using Shared Resource with Improper Synchronization1214
CWE-120Buffer Copy without Checking Size of Input1213
CWE-74Improper Neutralization of Special Elements in Output Used by a Downstream Component1213
CWE-693Protection Mechanism Failure1112
CWE-23Relative Path Traversal1011
CWE-798Use of Hard-coded Credentials919
CWE-611Improper Restriction of XML External Entity Reference99
CWE-290Authentication Bypass by Spoofing812
CWE-506Embedded Malicious Code88
CWE-73External Control of File Name or Path712
CWE-138Improper Neutralization of Special Elements77
CWE-347Improper Verification of Cryptographic Signature610
CWE-95Improper Neutralization of Directives in Dynamically Evaluated Code610
CWE-352Cross-Site Request Forgery68
CWE-367Time-of-check Time-of-use (TOCTOU) Race Condition68
CWE-189Numeric Errors66
CWE-404Improper Resource Shutdown or Release66
CWE-295Improper Certificate Validation510
CWE-88Improper Neutralization of Argument Delimiters in a Command59
CWE-116Improper Encoding or Escaping of Output58
CWE-1188Initialization of a Resource with an Insecure Default57
CWE-276Incorrect Default Permissions57
CWE-36Absolute Path Traversal56
CWE-400Uncontrolled Resource Consumption56
CWE-755Improper Handling of Exceptional Conditions55
CWE-822Untrusted Pointer Dereference55
CWE-917Improper Neutralization of Special Elements used in an Expression Language Statement55
CWE-415Double Free46
CWE-444Inconsistent Interpretation of HTTP Requests46
CWE-522Insufficiently Protected Credentials46
CWE-184Incomplete List of Disallowed Inputs45
CWE-158Improper Neutralization of Null Byte or NUL Character44
CWE-326Inadequate Encryption Strength44
CWE-494Download of Code Without Integrity Check44
CWE-552Files or Directories Accessible to External Parties44
CWE-754Improper Check for Unusual or Exceptional Conditions44
CWE-134Use of Externally-Controlled Format String35
CWE-285Improper Authorization35
CWE-470Use of Externally-Controlled Input to Select Classes or Code35
CWE-807Reliance on Untrusted Inputs in a Security Decision35
CWE-1336Improper Neutralization of Special Elements Used in a Template Engine34
CWE-250Execution with Unnecessary Privileges34
CWE-732Incorrect Permission Assignment for Critical Resource34
CWE-908Use of Uninitialized Resource34
CWE-1220Insufficient Granularity of Access Control33
CWE-1386Insecure Operation on Windows Junction / Mount Point33
CWE-1390Weak Authentication33
CWE-19Data Processing Errors33
CWE-420Unprotected Alternate Channel33
CWE-427Uncontrolled Search Path Element33
CWE-749Exposed Dangerous Method or Function33
CWE-80Improper Neutralization of Script-Related HTML Tags in a Web Page33
CWE-824Access of Uninitialized Pointer33
CWE-912Hidden Functionality33
CWE-191Integer Underflow (Wrap or Wraparound)24
CWE-259Use of Hard-coded Password24
CWE-346Origin Validation Error24
CWE-436Interpretation Conflict24
CWE-441Unintended Proxy or Intermediary24
CWE-305Authentication Bypass by Primary Weakness23
CWE-426Untrusted Search Path23
CWE-532Insertion of Sensitive Information into Log File23
CWE-665Improper Initialization23
CWE-829Inclusion of Functionality from Untrusted Control Sphere23
CWE-98Improper Control of Filename for Include/Require Statement in PHP Program23
CWE-1173Improper Use of Validation Framework22
CWE-1285Improper Validation of Specified Index, Position, or Offset in Input22
CWE-1325Improperly Controlled Sequential Memory Allocation22
CWE-1419Incorrect Initialization of Resource22
CWE-209Generation of Error Message Containing Sensitive Information22
CWE-25Path Traversal: '/../filedir'22
CWE-255Credentials Management Errors22
CWE-282Improper Ownership Management22
CWE-303Incorrect Implementation of Authentication Algorithm22
CWE-35Path Traversal: '.../...//'22
CWE-425Direct Request22
CWE-451User Interface (UI) Misrepresentation of Critical Information22
CWE-473PHP External Variable Modification22
CWE-591Sensitive Data Storage in Improperly Locked Memory22
CWE-610Externally Controlled Reference to a Resource in Another Sphere22
CWE-648Incorrect Use of Privileged APIs22
CWE-667Improper Locking22
CWE-669Incorrect Resource Transfer Between Spheres22
CWE-704Incorrect Type Conversion or Cast22
CWE-707Improper Neutralization22
CWE-823Use of Out-of-range Pointer Offset22
CWE-940Improper Verification of Source of a Communication Channel22
CWE-96Improper Neutralization of Directives in Statically Saved Code22
CWE-639Authorization Bypass Through User-Controlled Key17
CWE-266Incorrect Privilege Assignment15
CWE-321Use of Hard-coded Cryptographic Key15
CWE-330Use of Insufficiently Random Values15
CWE-178Improper Handling of Case Sensitivity14
CWE-601URL Redirection to Untrusted Site13
CWE-123Write-what-where Condition12
CWE-140Improper Neutralization of Delimiters12
CWE-193Off-by-one Error12
CWE-197Numeric Truncation Error12
CWE-252Unchecked Return Value12
CWE-294Authentication Bypass by Capture-replay12
CWE-401Missing Release of Memory after Effective Lifetime12
CWE-653Improper Isolation or Compartmentalization12
CWE-668Exposure of Resource to Wrong Sphere12
CWE-697Incorrect Comparison12
CWE-782Exposed IOCTL with Insufficient Access Control12
CWE-91XML Injection12
CWE-93Improper Neutralization of CRLF Sequences12
CWE-1023Incomplete Comparison with Missing Factors11
CWE-114Process Control11
CWE-124Buffer Underwrite11
CWE-1287Improper Validation of Specified Type of Input11
CWE-130Improper Handling of Length Parameter Inconsistency11
CWE-131Incorrect Calculation of Buffer Size11
CWE-1321Improperly Controlled Modification of Object Prototype Attributes11
CWE-1393Use of Default Password11
CWE-177Improper Handling of URL Encoding (Hex Encoding)11
CWE-203Observable Discrepancy11
CWE-244Improper Clearing of Heap Memory Before Release11
CWE-2547PK - Security Features11
CWE-257Storing Passwords in a Recoverable Format11
CWE-267Privilege Defined With Unsafe Actions11
CWE-27Path Traversal: 'dir/../../filename'11
CWE-273Improper Check for Dropped Privileges11
CWE-274Improper Handling of Insufficient Privileges11
CWE-280Improper Handling of Insufficient Permissions or Privileges11
CWE-281Improper Preservation of Permissions11
CWE-308Use of Single-factor Authentication11
CWE-310Cryptographic Issues11
CWE-311Missing Encryption of Sensitive Data11
CWE-312Cleartext Storage of Sensitive Information11
CWE-324Use of a Key Past its Expiration Date11
CWE-340Generation of Predictable Numbers or Identifiers11
CWE-345Insufficient Verification of Data Authenticity11
CWE-351Insufficient Type Distinction11
CWE-353Missing Support for Integrity Check11
CWE-356Missing User Interaction for Potentially Unsafe Action11
CWE-357Insufficient UI Warning of Dangerous Operations11
CWE-358Improperly Implemented Security Check for Standard11
CWE-384Session Fixation11
CWE-3887PK - Errors11
CWE-39Path Traversal: 'C:dirname'11
CWE-390Detection of Error Condition Without Action11
CWE-394Unexpected Status Code or Return Value11
CWE-40Path Traversal: '\\UNC\share\name\' (Windows UNC Share)11
CWE-406Insufficient Control of Network Message Volume (Network Amplification)11
CWE-424Improper Protection of Alternate Path11
CWE-44Path Equivalence: 'file.name' (Internal Dot)11
CWE-456Missing Initialization of a Variable11
CWE-472External Control of Assumed-Immutable Web Parameter11
CWE-476NULL Pointer Dereference11
CWE-497Exposure of Sensitive System Information to an Unauthorized Control Sphere11
CWE-521Weak Password Requirements11
CWE-528Exposure of Core Dump File to an Unauthorized Control Sphere11
CWE-55Path Equivalence: '/./' (Single Dot Directory)11
CWE-565Reliance on Cookies without Validation and Integrity Checking11
CWE-61UNIX Symbolic Link (Symlink) Following11
CWE-641Improper Restriction of Names for Files and Other Resources11
CWE-645Overly Restrictive Account Lockout Mechanism11
CWE-647Use of Non-Canonical URL Paths for Authorization Decisions11
CWE-664Improper Control of a Resource Through its Lifetime11
CWE-690Unchecked Return Value to NULL Pointer Dereference11
CWE-703Improper Check or Handling of Exceptional Conditions11
CWE-706Use of Incorrectly-Resolved Name or Reference11
CWE-772Missing Release of Resource after Effective Lifetime11
CWE-778Insufficient Logging11
CWE-783Operator Precedence Logic Error11
CWE-785Use of Path Manipulation Function without Maximum-sized Buffer11
CWE-790Improper Filtering of Special Elements11
CWE-835Loop with Unreachable Exit Condition11
CWE-84Improper Neutralization of Encoded URI Schemes in a Web Page11
CWE-841Improper Enforcement of Behavioral Workflow11
CWE-913Improper Control of Dynamically-Managed Code Resources11
CWE-923Improper Restriction of Communication Channel to Intended Endpoints11
CWE-943Improper Neutralization of Special Elements in Data Query Logic11
CWE-307Improper Restriction of Excessive Authentication Attempts010
CWE-1392Use of Default Credentials05
CWE-459Incomplete Cleanup03
CWE-1394Use of Default Cryptographic Key02
CWE-338Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)02
CWE-350Reliance on Reverse DNS Resolution for a Security-Critical Action02
CWE-613DEPRECATED: Insufficient Session Expiration02
CWE-640Weak Password Recovery Mechanism for Forgotten Password02
CWE-1204Generation of Weak Initialization Vector (IV)01
CWE-1286Improper Validation of Syntactic Correctness of Input01
CWE-1289Improper Validation of Unsafe Equivalence in Input01
CWE-1395Dependency on Vulnerable Third-Party Component01
CWE-1463Insufficient Session Timeout Value01
CWE-15External Control of System or Configuration Setting01
CWE-155Improper Neutralization of Wildcards or Matching Symbols01
CWE-180Incorrect Behavior Order: Validate Before Canonicalize01
CWE-183Permissive List of Allowed Inputs01
CWE-24Path Traversal: '../filedir'01
CWE-289Authentication Bypass by Alternate Name01
CWE-304Missing Critical Step in Authentication01
CWE-319Cleartext Transmission of Sensitive Information01
CWE-322Key Exchange without Entity Authentication01
CWE-323Reusing a Nonce, Key Pair in Encryption01
CWE-331Insufficient Entropy01
CWE-337Predictable Seed in Pseudo-Random Number Generator (PRNG)01
CWE-341Predictable from Observable State01
CWE-354Improper Validation of Integrity Check Value01
CWE-359Exposure of Private Personal Information to an Unauthorized Actor01
CWE-41Improper Resolution of Path Equivalence01
CWE-460Improper Cleanup on Thrown Exception01
CWE-488Exposure of Data Element to Wrong Session01
CWE-626Null Byte Interaction Error (Poison Null Byte)01
CWE-649Reliance on Obfuscation or Encryption of Security-Relevant Inputs without Integrity Checking01
CWE-662Improper Synchronization01
CWE-670Always-Incorrect Control Flow Implementation01
CWE-696Incorrect Behavior Order01
CWE-698Execution After Redirect (EAR)01
CWE-770Allocation of Resources Without Limits or Throttling01
CWE-915Improperly Controlled Modification of Dynamically-Determined Object Attributes01