Skip to content

Weakness class · LOGIC

Input Validation and Logic

18,086 published CVEs name a weakness in this class; 95 of them are exploited in the wild.
18,086CVEs
95exploited
115CWEs
574disclosed reports

CWEs in this class115

CWEs of Input Validation and Logic, most CVEs first
CWEWeaknessCVEsExploitedCheck
CWE-20Improper Input Validation12,1396350
CWE-754Improper Check for Unusual or Exceptional Conditions60340
CWE-451User Interface (UI) Misrepresentation of Critical Information49621
CWE-755Improper Handling of Exceptional Conditions44130
CWE-248Uncaught Exception36900
CWE-1284Improper Validation of Specified Quantity in Input36612
CWE-184Incomplete List of Disallowed Inputs21610
CWE-252Unchecked Return Value18200
CWE-602Client-Side Enforcement of Server-Side Security17300
CWE-472External Control of Assumed-Immutable Web Parameter16710
CWE-1287Improper Validation of Specified Type of Input16210
CWE-436Interpretation Conflict15720
CWE-703Improper Check or Handling of Exceptional Conditions152––
CWE-670Always-Incorrect Control Flow Implementation148––
CWE-706Use of Incorrectly-Resolved Name or Reference147––
CWE-682Incorrect Calculation137––
CWE-178Improper Handling of Case Sensitivity135––
CWE-697Incorrect Comparison125––
CWE-807Reliance on Untrusted Inputs in a Security Decision111––
CWE-840Business Logic Errors98––
CWE-1286Improper Validation of Syntactic Correctness of Input94––
CWE-841Improper Enforcement of Behavioral Workflow84––
CWE-799Improper Control of Interaction Frequency63––
CWE-696Incorrect Behavior Order59––
CWE-1285Improper Validation of Specified Index, Position, or Offset in Input56––
CWE-440Expected Behavior Violation49––
CWE-183Permissive List of Allowed Inputs48––
CWE-180Incorrect Behavior Order: Validate Before Canonicalize44––
CWE-1288Improper Validation of Consistency within Input43––
CWE-691Insufficient Control Flow Management40––
CWE-606Unchecked Input for Loop Condition39––
CWE-185Incorrect Regular Expression37––
CWE-1289Improper Validation of Unsafe Equivalence in Input36––
CWE-757Selection of Less-Secure Algorithm During Negotiation34––
CWE-115Misinterpretation of Input33––
CWE-233Improper Handling of Parameters32––
CWE-241Improper Handling of Unexpected Data Type32––
CWE-684Incorrect Provision of Specified Functionality31––
CWE-390Detection of Error Condition Without Action30––
CWE-460Improper Cleanup on Thrown Exception30––
CWE-758Reliance on Undefined, Unspecified, or Implementation-Defined Behavior26––
CWE-391CWE-39125––
CWE-707Improper Neutralization25––
CWE-690Unchecked Return Value to NULL Pointer Dereference24––
CWE-228Improper Handling of Syntactically Invalid Structure23––
CWE-253Incorrect Check of Function Return Value22––
CWE-625Permissive Regular Expression22––
CWE-698Execution After Redirect (EAR)22––
CWE-783Operator Precedence Logic Error22––
CWE-187Partial String Comparison21––
CWE-1025Comparison Using Wrong Factors21––
CWE-708Incorrect Ownership Assignment20––
CWE-229Improper Handling of Values18––
CWE-837Improper Enforcement of a Single, Unique Action18––
CWE-394Unexpected Status Code or Return Value17––
CWE-395Use of NullPointerException Catch to Detect NULL Pointer Dereference17––
CWE-1023Incomplete Comparison with Missing Factors17––
CWE-838Inappropriate Encoding for Output Context16––
CWE-449The UI Performs the Wrong Action14––
CWE-650Trusting HTTP Permission Methods on the Server Side14––
CWE-474Use of Function with Inconsistent Implementations13––
CWE-230Improper Handling of Missing Values12––
CWE-232Improper Handling of Undefined Values11––
CWE-480Use of Incorrect Operator11––
CWE-392Missing Report of Error Condition10––
CWE-710Improper Adherence to Coding Standards9––
CWE-839Numeric Range Comparison Without Minimum Check9––
CWE-393Return of Wrong Status Code8––
CWE-544Missing Standardized Error Handling Mechanism8––
CWE-686Function Call With Incorrect Argument Type7––
CWE-1037Processor Optimization Removal or Modification of Security-critical Code7––
CWE-1077Floating Point Comparison with Incorrect Operator7––
CWE-777Regular Expression without Anchors6––
CWE-1007Insufficient Visual Distinction of Homoglyphs Presented to User6––
CWE-1038Insecure Automated Optimizations6––
CWE-231Improper Handling of Extra Values5––
CWE-235Improper Handling of Extra Parameters5––
CWE-237Improper Handling of Structural Elements5––
CWE-628Function Call with Incorrectly Specified Arguments5––
CWE-688Function Call With Incorrect Variable or Reference as Argument5––
CWE-705Incorrect Control Flow Scoping5––
CWE-733Compiler Optimization Removal or Modification of Security-critical Code5––
CWE-784Reliance on Cookies without Validation and Integrity Checking in a Security Decision5––
CWE-1245Improper Finite State Machines (FSMs) in Hardware Logic5––
CWE-386Symbolic Name not Mapping to Correct Object4––
CWE-437Incomplete Model of Endpoint Features4––
CWE-239Failure to Handle Incomplete Element3––
CWE-240Improper Handling of Inconsistent Structural Elements3––
CWE-435Improper Interaction Between Multiple Correctly-Behaving Entities3––
CWE-446UI Discrepancy for Security Feature3––
CWE-448Obsolete Feature in UI3––
CWE-473PHP External Variable Modification3––
CWE-597Use of Wrong Operator in String Comparison3––
CWE-683Function Call With Incorrect Order of Arguments3––
CWE-756Missing Custom Error Page3––
CWE-1024Comparison of Incompatible Types3––
CWE-1280Access Control Check Implemented After Asset is Accessed3––
CWE-182Collapse of Data into Unsafe Value2––
CWE-186Overly Restrictive Regular Expression2––
CWE-234Failure to Handle Missing Parameter2––
CWE-236Improper Handling of Undefined Parameters2––
CWE-396Declaration of Catch for Generic Exception2––
CWE-622Improper Validation of Function Hook Arguments2––
CWE-687Function Call With Incorrectly Specified Argument Value2––
CWE-1103Use of Platform-Dependent Third Party Components2––
CWE-1190DMA Device Enabled Too Early in Boot Phase2––
CWE-1279Cryptographic Operations are Run Before Supporting Units are Ready2––
CWE-478Missing Default Case in Multiple Condition Expression1––
CWE-483Incorrect Block Delimitation1––
CWE-484Omitted Break Statement in Switch1––
CWE-600Uncaught Exception in Servlet1––
CWE-768Incorrect Short Circuit Evaluation1––
CWE-781Improper Address Validation in IOCTL with METHOD_NEITHER I/O Control Code1––
CWE-1102Reliance on Machine-Dependent Data Representation1––
CWE-1471Insufficiently Controlled Parser Differential1––

Exploited and check counts are given for the class's largest CWEs; open a CWE for its CVEs.

Data as of 2026-11-14.

Updated AboutDevelopersSign in