Common Weakness Enumeration

    CWE Definition / CWE-805

    CWE-805: Buffer Access with Incorrect Length Value

    The product uses a sequential operation to read or write a buffer, but it uses an incorrect length value that causes it to access memory that is outside of the bounds of the buffer.

    Published:15 Jan 2010
    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