Weaknesses (CWE)

The weakness types of the CWE catalog that the CVE records name, by the number of published records.

CWENameCVE records
CWE-79Improper Neutralization of Input During Web Page Generation33,094
CWE-89Improper Neutralization of Special Elements used in an SQL Command14,074
CWE-862Missing Authorization11,006
CWE-284Improper Access Control8,419
CWE-22Improper Limitation of a Pathname to a Restricted Directory6,924
CWE-352Cross-Site Request Forgery6,779
CWE-416Use After Free6,676
CWE-125Out-of-bounds Read6,337
CWE-200Exposure of Sensitive Information to an Unauthorized Actor6,022
CWE-20Improper Input Validation5,996
CWE-787Out-of-bounds Write5,987
CWE-78Improper Neutralization of Special Elements used in an OS Command5,216
CWE-74Improper Neutralization of Special Elements in Output Used by a Downstream Component5,169
CWE-94Improper Control of Generation of Code5,042
CWE-863Incorrect Authorization4,292
CWE-121Stack-based Buffer Overflow4,260
CWE-122Heap-based Buffer Overflow4,136
CWE-918Server-Side Request Forgery3,798
CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer3,639
CWE-400Uncontrolled Resource Consumption3,609
CWE-639Authorization Bypass Through User-Controlled Key3,545
CWE-434Unrestricted Upload of File with Dangerous Type3,369
CWE-306Missing Authentication for Critical Functionality3,305
CWE-120Buffer Copy without Checking Size of Input3,280
CWE-502Deserialization of Untrusted Data3,166
CWE-77Improper Neutralization of Special Elements used in a Command3,021
CWE-287Improper Authentication3,002
CWE-269Improper Privilege Management2,944
CWE-476NULL Pointer Dereference2,720
CWE-770Allocation of Resources Without Limits or Throttling2,362
CWE-190Integer Overflow or Wraparound2,069
CWE-285Improper Authorization1,792
CWE-362Concurrent Execution using Shared Resource with Improper Synchronization1,528
CWE-601URL Redirection to Untrusted Site1,378
CWE-98Improper Control of Filename for Include/Require Statement in PHP Program1,373
CWE-266Incorrect Privilege Assignment1,338
CWE-295Improper Certificate Validation1,104
CWE-798Use of Hard-coded Credentials1,067
CWE-59Improper Link Resolution Before File Access1,045
CWE-693Protection Mechanism Failure1,044
CWE-276Incorrect Default Permissions1,002
CWE-532Insertion of Sensitive Information into Log File994
CWE-427Uncontrolled Search Path Element950
CWE-732Incorrect Permission Assignment for Critical Resource906
CWE-367Time-of-check Time-of-use (TOCTOU) Race Condition876
CWE-843Access of Resource Using Incompatible Type875
CWE-73External Control of File Name or Path840
CWE-522Insufficiently Protected Credentials832
CWE-347Improper Verification of Cryptographic Signature828
CWE-401Missing Release of Memory after Effective Lifetime790
CWE-288Authentication Bypass Using an Alternate Path or Channel781
CWE-290Authentication Bypass by Spoofing767
CWE-404Improper Resource Shutdown or Release765
CWE-346Origin Validation Error735
CWE-345Insufficient Verification of Data Authenticity732
CWE-611Improper Restriction of XML External Entity Reference730
CWE-80Improper Neutralization of Script-Related HTML Tags in a Web Page703
CWE-126Buffer Over-read609
CWE-319Cleartext Transmission of Sensitive Information607
CWE-613DEPRECATED: Insufficient Session Expiration595
CWE-307Improper Restriction of Excessive Authentication Attempts586
CWE-23Relative Path Traversal584
CWE-835Loop with Unreachable Exit Condition582
CWE-617Reachable Assertion579
CWE-201Insertion of Sensitive Information Into Sent Data561
CWE-908Use of Uninitialized Resource558
CWE-191Integer Underflow (Wrap or Wraparound)543
CWE-754Improper Check for Unusual or Exceptional Conditions526
CWE-451User Interface (UI) Misrepresentation of Critical Information524
CWE-1333Inefficient Regular Expression Complexity522
CWE-312Cleartext Storage of Sensitive Information518
CWE-674Uncontrolled Recursion513
CWE-209Generation of Error Message Containing Sensitive Information510
CWE-415Double Free507
CWE-116Improper Encoding or Escaping of Output480
CWE-497Exposure of Sensitive System Information to an Unauthorized Control Sphere473
CWE-1321Improperly Controlled Modification of Object Prototype Attributes457
CWE-321Use of Hard-coded Cryptographic Key454
CWE-88Improper Neutralization of Argument Delimiters in a Command434
CWE-552Files or Directories Accessible to External Parties424
CWE-327Use of a Broken or Risky Cryptographic Algorithm423
CWE-250Execution with Unnecessary Privileges421
CWE-203Observable Discrepancy419
CWE-248Uncaught Exception413
CWE-1284Improper Validation of Specified Quantity in Input412
CWE-129Improper Validation of Array Index398
CWE-822Untrusted Pointer Dereference379
CWE-444Inconsistent Interpretation of HTTP Requests374
CWE-426Untrusted Search Path370
CWE-789Memory Allocation with Excessive Size Value369
CWE-428Unquoted Search Path or Element359
CWE-829Inclusion of Functionality from Untrusted Control Sphere344
CWE-407Inefficient Algorithmic Complexity331
CWE-311Missing Encryption of Sensitive Data323
CWE-1336Improper Neutralization of Special Elements Used in a Template Engine316
CWE-264309
CWE-457Use of Uninitialized Variable309
CWE-922Insecure Storage of Sensitive Information296
CWE-384Session Fixation289
CWE-755Improper Handling of Exceptional Conditions278
CWE-93Improper Neutralization of CRLF Sequences277
CWE-184Incomplete List of Disallowed Inputs275
CWE-1188Initialization of a Resource with an Insecure Default273
CWE-640Weak Password Recovery Mechanism for Forgotten Password270
CWE-668Exposure of Resource to Wrong Sphere267
CWE-707Improper Neutralization265
CWE-294Authentication Bypass by Capture-replay256
CWE-441Unintended Proxy or Intermediary256
CWE-95Improper Neutralization of Directives in Dynamically Evaluated Code246
CWE-1021Improper Restriction of Rendered UI Layers or Frames244
CWE-915Improperly Controlled Modification of Dynamically-Determined Object Attributes238
CWE-369Divide By Zero237
CWE-256Plaintext Storage of a Password236
CWE-259Use of Hard-coded Password234
CWE-824Access of Uninitialized Pointer234
CWE-281Improper Preservation of Permissions232
CWE-204Observable Response Discrepancy231
CWE-494Download of Code Without Integrity Check230
CWE-749Exposed Dangerous Method or Function228
CWE-359Exposure of Private Personal Information to an Unauthorized Actor224
CWE-208Observable Timing Discrepancy218
CWE-1236Improper Neutralization of Formula Elements in a CSV File216
CWE-326Inadequate Encryption Strength214
CWE-330Use of Insufficiently Random Values206
CWE-61UNIX Symbolic Link (Symlink) Following205
CWE-409Improper Handling of Highly Compressed Data (Data Amplification)205
CWE-131Incorrect Calculation of Buffer Size199
CWE-35Path Traversal: '.../...//'195
CWE-436Interpretation Conflict194
CWE-602Client-Side Enforcement of Server-Side Security191
CWE-1287Improper Validation of Specified Type of Input188
CWE-134Use of Externally-Controlled Format String186
CWE-943Improper Neutralization of Special Elements in Data Query Logic186
CWE-280Improper Handling of Insufficient Permissions or Privileges185
CWE-305Authentication Bypass by Primary Weakness183
CWE-667Improper Locking183
CWE-338Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)182
CWE-703Improper Check or Handling of Exceptional Conditions182
CWE-459Incomplete Cleanup175
CWE-665Improper Initialization173
CWE-472External Control of Assumed-Immutable Web Parameter170
CWE-772Missing Release of Resource after Effective Lifetime168
CWE-193Off-by-one Error167
CWE-521Weak Password Requirements163
CWE-399160
CWE-36Absolute Path Traversal158
CWE-117Improper Output Neutralization for Logs156
CWE-354Improper Validation of Integrity Check Value156
CWE-807Reliance on Untrusted Inputs in a Security Decision155
CWE-942Permissive Cross-domain Security Policy with Untrusted Domains153
CWE-130Improper Handling of Length Parameter Inconsistency152
CWE-470Use of Externally-Controlled Input to Select Classes or Code151
CWE-1392Use of Default Credentials149
CWE-252Unchecked Return Value148
CWE-788Access of Memory Location After End of Buffer147
CWE-1220Insufficient Granularity of Access Control144
CWE-425Direct Request143
CWE-1390Weak Authentication138
CWE-178Improper Handling of Case Sensitivity136
CWE-706Use of Incorrectly-Resolved Name or Reference136
CWE-24Path Traversal: '../filedir'130
CWE-377DEPRECATED: Insecure Temporary File130
CWE-303Incorrect Implementation of Authentication Algorithm126
CWE-926Improper Export of Android Application Components126
CWE-358Improperly Implemented Security Check for Standard124
CWE-670Always-Incorrect Control Flow Implementation122
CWE-197Numeric Truncation Error121
CWE-113Improper Neutralization of CRLF Sequences in HTTP Headers120
CWE-697Incorrect Comparison119
CWE-348Use of Less Trusted Source116
CWE-538Insertion of Sensitive Information into Externally-Accessible File or Directory116
CWE-680Integer Overflow to Buffer Overflow115
CWE-823Use of Out-of-range Pointer Offset114
CWE-620Unverified Password Change113
CWE-1286Improper Validation of Syntactic Correctness of Input113
CWE-15External Control of System or Configuration Setting112
CWE-91XML Injection112
CWE-840111
CWE-598Use of HTTP Request With Sensitive Query String110
CWE-682Incorrect Calculation109
CWE-489Active Debug Code108
CWE-704Incorrect Type Conversion or Cast107
CWE-331Insufficient Entropy104
CWE-506Embedded Malicious Code104
CWE-610Externally Controlled Reference to a Resource in Another Sphere104
CWE-90Improper Neutralization of Special Elements used in an LDAP Query103
CWE-150Improper Neutralization of Escape, Meta, or Control Sequences103
CWE-841Improper Enforcement of Behavioral Workflow103
CWE-799Improper Control of Interaction Frequency102
CWE-825Expired Pointer Dereference102
CWE-913Improper Control of Dynamically-Managed Code Resources102
CWE-310101
CWE-524Use of Cache Containing Sensitive Information101
CWE-916Use of Password Hash With Insufficient Computational Effort101
CWE-912Hidden Functionality100
CWE-212Improper Removal of Sensitive Information Before Storage or Transfer99
CWE-297Improper Validation of Certificate with Host Mismatch98
CWE-328Use of Weak Hash98
CWE-653Improper Isolation or Compartmentalization97
CWE-681Incorrect Conversion between Numeric Types96
CWE-669Incorrect Resource Transfer Between Spheres92
CWE-923Improper Restriction of Communication Channel to Intended Endpoints92
CWE-672Operation on a Resource after Expiration or Release90
CWE-636Not Failing Securely89
CWE-267Privilege Defined With Unsafe Actions80
CWE-405Asymmetric Resource Consumption (Amplification)78
CWE-591Sensitive Data Storage in Improperly Locked Memory77
CWE-99Improper Control of Resource Identifiers76
CWE-940Improper Verification of Source of a Communication Channel76
CWE-325Missing Cryptographic Step75
CWE-379Creation of Temporary File in Directory with Insecure Permissions75
CWE-763Release of Invalid Pointer or Reference75
CWE-277Insecure Inherited Permissions73
CWE-170Improper Null Termination72
CWE-614Sensitive Cookie in HTTPS Session Without 'Secure' Attribute72
CWE-917Improper Neutralization of Special Elements used in an Expression Language Statement71
CWE-257Storing Passwords in a Recoverable Format70
CWE-648Incorrect Use of Privileged APIs70
CWE-548Exposure of Information Through Directory Listing68
CWE-644Improper Neutralization of HTTP Headers for Scripting Syntax68
CWE-1285Improper Validation of Specified Index, Position, or Offset in Input68
CWE-340Generation of Predictable Numbers or Identifiers67
CWE-488Exposure of Data Element to Wrong Session67
CWE-664Improper Control of a Resource Through its Lifetime67
CWE-805Buffer Access with Incorrect Length Value67
CWE-1391Use of Weak Credentials67
CWE-776Improper Restriction of Recursive Entity References in DTDs65
CWE-29Path Traversal: '\..\filename'64
CWE-183Permissive List of Allowed Inputs64
CWE-32064
CWE-696Incorrect Behavior Order64
CWE-1663
CWE-25563
CWE-300Channel Accessible by Non-Endpoint62
CWE-1395Dependency on Vulnerable Third-Party Component62
CWE-123Write-what-where Condition61
CWE-349Acceptance of Extraneous Untrusted Data With Trusted Data61
CWE-424Improper Protection of Alternate Path58
CWE-87Improper Neutralization of Alternate XSS Syntax57
CWE-18957
CWE-27557
CWE-1289Improper Validation of Unsafe Equivalence in Input57
CWE-304Missing Critical Step in Authentication56
CWE-353Missing Support for Integrity Check56
CWE-180Incorrect Behavior Order: Validate Before Canonicalize55
CWE-782Exposed IOCTL with Insufficient Access Control55
CWE-834Excessive Iteration55
CWE-1385Missing Origin Validation in WebSockets54
CWE-289Authentication Bypass by Alternate Name53
CWE-606Unchecked Input for Loop Condition53
CWE-323Reusing a Nonce, Key Pair in Encryption52
CWE-1004Sensitive Cookie Without 'HttpOnly' Flag52
CWE-124Buffer Underwrite51
CWE-202Exposure of Sensitive Information Through Data Queries51
CWE-226Sensitive Information in Resource Not Removed Before Reuse51
CWE-440Expected Behavior Violation51
CWE-565Reliance on Cookies without Validation and Integrity Checking51
CWE-1393Use of Default Password51
CWE-378Creation of Temporary File With Insecure Permissions50
CWE-214Invocation of Process Using Visible Sensitive Information48
CWE-41Improper Resolution of Path Equivalence47
CWE-158Improper Neutralization of Null Byte or NUL Character47
CWE-272Least Privilege Violation47
CWE-302Authentication Bypass by Assumed-Immutable Data47
CWE-791Incomplete Filtering of Special Elements47
CWE-176Improper Handling of Unicode Encoding46
CWE-261Weak Encoding for Password46
CWE-757Selection of Less-Secure Algorithm During Negotiation46
CWE-471Modification of Assumed-Immutable Data (MAID)45
CWE-316Cleartext Storage of Sensitive Information in Memory44
CWE-385Covert Timing Channel44
CWE-778Insufficient Logging43
CWE-274Improper Handling of Insufficient Privileges42
CWE-420Unprotected Alternate Channel42
CWE-691Insufficient Control Flow Management42
CWE-283Unverified Ownership41
CWE-350Reliance on Reverse DNS Resolution for a Security-Critical Action41
CWE-1288Improper Validation of Consistency within Input41
CWE-1327Binding to an Unrestricted IP Address41
CWE-195Signed to Unsigned Conversion Error40
CWE-540Inclusion of Sensitive Information in Source Code40
CWE-939Improper Authorization in Handler for Custom URL Scheme40
CWE-525Use of Web Browser Cache Containing Sensitive Information39
CWE-833Deadlock39
CWE-75Failure to Sanitize Special Elements into a Different Plane37
CWE-115Misinterpretation of Input37
CWE-690Unchecked Return Value to NULL Pointer Dereference37
CWE-83Improper Neutralization of Script in Attributes in a Web Page36
CWE-213Exposure of Sensitive Information Due to Incompatible Policies36
CWE-322Key Exchange without Entity Authentication36
CWE-501Trust Boundary Violation36
CWE-1300Improper Protection of Physical Side Channels36
CWE-185Incorrect Regular Expression35
CWE-241Improper Handling of Unexpected Data Type35
CWE-356Missing User Interaction for Potentially Unsafe Action35
CWE-1275Sensitive Cookie with Improper SameSite Attribute35
CWE-92DEPRECATED: Improper Sanitization of Custom Special Characters34
CWE-313Cleartext Storage in a File or on Disk34
CWE-460Improper Cleanup on Thrown Exception34
CWE-273Improper Check for Dropped Privileges33
CWE-390Detection of Error Condition Without Action33
CWE-684Incorrect Provision of Specified Functionality33
CWE-1191On-Chip Debug and Test Interface With Improper Access Control33
CWE-96Improper Neutralization of Directives in Statically Saved Code32
CWE-233Improper Handling of Parameters32
CWE-282Improper Ownership Management32
CWE-286Incorrect User Management32
CWE-758Reliance on Undefined, Unspecified, or Implementation-Defined Behavior32
CWE-662Improper Synchronization31
CWE-1394Use of Default Cryptographic Key31
CWE-1427Improper Neutralization of Input Used for LLM Prompting31
CWE-27Path Traversal: 'dir/../../filename'30
CWE-625Permissive Regular Expression30
CWE-1104Use of Unmaintained Third Party Components30
CWE-270Privilege Context Switching Error29
CWE-924Improper Enforcement of Message Integrity During Transmission in a Communication Channel29
CWE-1325Improperly Controlled Sequential Memory Allocation29
CWE-114Process Control28
CWE-215Insertion of Sensitive Information Into Debugging Code28
CWE-391DEPRECATED: Unchecked Error Condition28
CWE-523Unprotected Transport of Credentials28
CWE-551Incorrect Behavior Order: Authorization Before Parsing and Canonicalization28
CWE-603Use of Client-Side Authentication28
CWE-357Insufficient UI Warning of Dangerous Operations27
CWE-526Cleartext Storage of Sensitive Information in an Environment Variable27
CWE-590Free of Memory not on the Heap27
CWE-253Incorrect Check of Function Return Value26
CWE-279Incorrect Execution-Assigned Permissions26
CWE-341Predictable from Observable State26
CWE-1025Comparison Using Wrong Factors26
CWE-1230Exposure of Sensitive Information Through Metadata26
CWE-260Password in Configuration File25
CWE-308Use of Single-factor Authentication25
CWE-324Use of a Key Past its Expiration Date25
CWE-453Insecure Default Variable Initialization25
CWE-1023Incomplete Comparison with Missing Factors25
CWE-140Improper Neutralization of Delimiters24
CWE-299Improper Check for Certificate Revocation24
CWE-335Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)24
CWE-402Transmission of Private Resources into a New Sphere24
CWE-592DEPRECATED: Authentication Bypass Issues24
CWE-698Execution After Redirect (EAR)24
CWE-759Use of a One-Way Hash without a Salt24
CWE-1240Use of a Cryptographic Primitive with a Risky Implementation24
CWE-244Improper Clearing of Heap Memory Before Release23
CWE-642External Control of Critical State Data23
CWE-779Logging of Excessive Data23
CWE-783Operator Precedence Logic Error23
CWE-1295Debug Messages Revealing Unnecessary Information23
CWE-84Improper Neutralization of Encoded URI Schemes in a Web Page22
CWE-228Improper Handling of Syntactically Invalid Structure22
CWE-268Privilege Chaining22
CWE-406Insufficient Control of Network Message Volume (Network Amplification)22
CWE-410Insufficient Resource Pool22
CWE-413Improper Resource Locking22
CWE-657Violation of Secure Design Principles22
CWE-708Incorrect Ownership Assignment22
CWE-911Improper Update of Reference Count22
CWE-155Improper Neutralization of Wildcards or Matching Symbols21
CWE-187Partial String Comparison21
CWE-229Improper Handling of Values21
CWE-366Race Condition within a Thread21
CWE-804Guessable CAPTCHA21
CWE-26Path Traversal: '/dir/../filename'20
CWE-177Improper Handling of URL Encoding (Hex Encoding)20
CWE-296Improper Following of a Certificate's Chain of Trust20
CWE-364Signal Handler Race Condition20
CWE-837Improper Enforcement of a Single, Unique Action20
CWE-909Missing Initialization of Resource20
CWE-1050Excessive Platform Resource Consumption within a Loop20
CWE-1259Improper Restriction of Security Token Assignment20
CWE-337Predictable Seed in Pseudo-Random Number Generator (PRNG)19
CWE-394Unexpected Status Code or Return Value19
CWE-641Improper Restriction of Names for Files and Other Resources19
CWE-643Improper Neutralization of Data within XPath Expressions19
CWE-694Use of Multiple Resources with Duplicate Identifier19
CWE-836Use of Password Hash Instead of Password for Authentication19
CWE-1260Improper Handling of Overlap Between Protected Memory Ranges19
CWE-647Use of Non-Canonical URL Paths for Authorization Decisions18
CWE-927Use of Implicit Intent for Sensitive Communication18
CWE-1386Insecure Operation on Windows Junction / Mount Point18
CWE-76Improper Neutralization of Equivalent Special Elements17
CWE-172Improper Encoding or Decoding of Data17
CWE-329Generation of Predictable IV with CBC Mode17
CWE-395Use of NullPointerException Catch to Detect NULL Pointer Dereference17
CWE-475Undefined Behavior for Input to API17
CWE-820Missing Synchronization17
CWE-31Path Traversal: 'dir\..\..\filename'16
CWE-138Improper Neutralization of Special Elements16
CWE-334Small Space of Random Values16
CWE-363Race Condition Enabling Link Following16
CWE-393Return of Wrong Status Code16
CWE-477Use of Obsolete Function16
CWE-549Missing Password Field Masking16
CWE-650Trusting HTTP Permission Methods on the Server Side16
CWE-1242Inclusion of Undocumented Features or Chicken Bits16
CWE-1258Exposure of Sensitive System Information Due to Uncleared Debug Information16
CWE-1915
CWE-26515
CWE-351Insufficient Type Distinction15