CWE-786: Access of Memory Location Before Start of Buffer
BaseIncomplete
The product reads or writes to a buffer using an index or pointer that references a memory location prior to the beginning of the buffer.
View on MITREBack to CWE Lookup
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.
Technical Details
- Structure
- Simple
Applicable To
CC++