Common Weakness Enumeration

    CWE Definition / CWE-839

    CWE-839: Numeric Range Comparison Without Minimum Check

    The product checks a value to ensure that it is less than or equal to a maximum, but it does not also verify that the value is greater than or equal to the minimum.

    Published:24 Mar 2011
    Organization:MITRE
    Modified:11 Dec 2025

    Related Weakness

    CWE-1023: Incomplete Comparison with Missing Factors

    CWE-195: Signed to Unsigned Conversion Error

    CWE-682: Incorrect Calculation

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

    CWE-124: Buffer Underwrite ('Buffer Underflow')