Common Weakness Enumeration

    CWE Definition / CWE-1284

    CWE-1284: Improper Validation of Specified Quantity in Input

    The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.

    Published:24 Jun 2020
    Organization:MITRE
    Modified:30 Apr 2026

    Related Weakness

    CWE-20: Improper Input Validation

    CWE-20: Improper Input Validation

    CWE-789: Memory Allocation with Excessive Size Value