Common Weakness Enumeration

    CWE Definition / CWE-1335

    CWE-1335: Incorrect Bitwise Shift of Integer

    An integer value is specified to be shifted by a negative amount or an amount greater than or equal to the number of bits contained in the value causing an unexpected or indeterminate result.

    Published:29 Mar 2021
    Organization:MITRE
    Modified:30 Apr 2026

    Related Weakness

    CWE-682: Incorrect Calculation