CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Also known as: Classic Buffer Overflow, Unbounded Transfer
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
Overview
CWE-120 (Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')) is a base-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.