1. CVE archive
  2. Vulnerability types
  3. CWE-234
CWE-234 · #638 most frequent type in the archive

Failure to Handle Missing Parameter

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.

Part of: CWE-233 · Improper Handling of Parameters

2CVEs of this type in the archive
0critical (CVSS ≥ 9)
1high severity (7–8.9)
Oct 24, 2023latest published

What it is

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.

Impact on systems

ScopeImpact
Integrity, Confidentiality, Availability, Access Control Execute Unauthorized Code or Commands, Gain Privileges or Assume Identity
There is the potential for arbitrary code execution with privileges of the vulnerable program if function parameter list is exhausted.
Availability DoS: Crash, Exit, or Restart
Potentially a program could fail if it needs more arguments then are available.

How to prevent it

Build and Compilation This issue can be simply combated with the use of proper build process.
Implementation Forward declare all functions. This is the recommended solution. Properly forward declaration of all used functions will result in a compiler error if too few arguments are sent to a function.

Source: MITRE CWE catalog · Official entry on the MITRE website

CWE-234 CVEs published per year
Show the data as a table
YearCVE
20221
20231

All CWE-234 CVEs

2 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.