CWE-786: Access of Memory Location Before Start of Buffer
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.
Last updated
Overview
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.
Real-world CVEs
8 recorded CVEs are caused by CWE-786 (Access of Memory Location Before Start of Buffer). The highest-severity and most recent are shown first. 1 new CWE-786 CVE has been recorded so far in 2026.