Common Weakness Enumeration

    CWE Definition / CWE-786

    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.

    Published:21 Oct 2009
    Organization:MITRE
    Modified:11 Dec 2025

    Related Weakness

    CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer