Unbounded-copy-to-stack-buffer
Unbounded copy to stack buffer
unbounded-copy-to-stack-buffer
unbounded-copy-to-stack-buffer
The function $FUN
does not impose any size limitation to what it writes to $BUF
. That may lead to a stack buffer overflow if there is no validation on the size of the input.
Likelihood: LOW
Confidence: MEDIUM
CWE:
- CWE-120: Buffer Copy without Checking Size of Input (‘Classic Buffer Overflow’)