CWE-788
Access of Memory Location After End of Buffer
AI Translation Available
The product reads or writes to a buffer using an index or pointer that references a memory location after the end of the buffer.
Status
incomplete
Abstraction
base
Affected Platforms
C
C++
Memory-Unsafe
Extended Description
AI Translation
This typically occurs when a pointer or its index is incremented to a position after the buffer; or when pointer arithmetic results in a position after the buffer.
Technical Details
AI Translation
Common Consequences
confidentiality
integrity
availability
Impacts
read memory
modify memory
dos: crash, exit, or restart
execute unauthorized code or commands
Detection Methods
fuzzing
automated static analysis
automated dynamic analysis
Potential Mitigations
Functional Areas
memory management