CWE-786

Overview
  • CWE ID
  • 786
  • CWE Name
  • Access of Memory Location Before Start of Buffer
  • CWE Abstraction
  • Base
  • CWE structure
  • Simple
  • CWE Status
  • Incomplete
Description
The software reads or 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.
Related CWEs
CWE ID View ID Nature Ordinal
119 1000 ChildOf Primary
119 1305 ChildOf Primary
119 1340 ChildOf Primary
Related CVEs