CWE-124: Buffer Underwrite ('Buffer Underflow')
Also known as: buffer underrun
The product writes to a buffer using an index or pointer that references a memory location prior to the beginning of the buffer.
Overview
CWE-124 (Buffer Underwrite ('Buffer Underflow')) 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.