Common Weakness Enumeration

    CWE Definition / CWE-1254

    CWE-1254: Incorrect Comparison Logic Granularity

    The product's comparison logic is performed over a series of steps rather than across the entire string in one operation. If there is a comparison logic failure on one of these steps, the operation may be vulnerable to a timing attack that can result in the interception of the process for nefarious purposes.

    Published:12 Feb 2020
    Organization:MITRE
    Modified:11 Dec 2025

    Related Weakness

    CWE-208: Observable Timing Discrepancy

    CWE-697: Incorrect Comparison