Common Weakness Enumeration

    CWE Definition / CWE-1285

    CWE-1285: Improper Validation of Specified Index, Position, or Offset in Input

    The product receives input that is expected to specify an index, position, or offset into an indexable resource such as a buffer or file, but it does not validate or incorrectly validates that the specified index/position/offset has the required properties.

    Published:24 Jun 2020
    Organization:MITRE
    Modified:11 Dec 2025

    Related Weakness

    CWE-20: Improper Input Validation