CWE-234βFailure to Handle Missing Parameter
PUBLISHEDweakness recordHigh
released 2006-07-19 Β· last modified 2025-12-11
Metadata
- CWE ID:
- CWE-234
- Abstraction:
- Variant
- Structure:
- Simple
- Status:
- Incomplete
- Release Date:
- 2006-07-19
- Latest Modification Date:
- 2025-12-11
Weakness Name
Failure to Handle Missing Parameter
Description
If too few arguments are sent to a function, the function will still pop the expected number of arguments from the stack. Potentially, a variable number of arguments could be exhausted in a function as well.
Common Consequences
- Scope:
- Integrity, Confidentiality, Availability, Access Control
- Impact:
- Execute Unauthorized Code or Commands, Gain Privileges or Assume Identity
- Notes:
- There is the potential for arbitrary code execution with privileges of the vulnerable program if function parameter list is exhausted.
- Scope:
- Availability
- Impact:
- DoS: Crash, Exit, or Restart
- Notes:
- Potentially a program could fail if it needs more arguments then are available.