The product writes to a buffer using an index or pointer that references a memory location prior to the beginning of the buffer.
Extended description
This typically occurs when a pointer or its index is decremented to a position before the buffer, when pointer arithmetic results in a position before the beginning of the valid memory location, or when a negative index is used.
Best practices to prevent this CWE
Phase: Requirements
Choose a language that is not susceptible to these issues.
Phase: Implementation
All calculated values that are used as index or for pointer arithmetic should be validated to ensure that they are within an expected range.