Umbra Wiki weakness weakness/CWE-788
Back to wiki

CWE-788 — Access of Memory Location After End of Buffer

provenance: imported · CWE: CWE-788

CWE-788: Access of Memory Location After End of Buffer

MITRE CWE weakness

Kind Weakness
Abstraction Base
Status Incomplete
Likelihood of exploit

Description

The product reads or writes to a buffer using an index or pointer that references a memory location after the end of the buffer.

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.

Common consequences

  • Confidentiality: Read Memory
  • Integrity, Availability: Modify Memory, DoS: Crash, Exit, or Restart
  • Integrity: Modify Memory, Execute Unauthorized Code or Commands

Mitigations

(none listed)

References

  • CWE page: https://cwe.mitre.org/data/definitions/788.html
  • CWE list: https://cwe.mitre.org/data/index.html