Common Weakness Enumeration

    CWE Definition / CWE-787

    CWE-787: Out-of-bounds Write

    The product writes data past the end, or before the beginning, of the intended buffer.

    Published:21 Oct 2009
    Organization:MITRE
    Modified:30 Apr 2026

    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

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