Common Weakness Enumeration

    CWE Definition / CWE-1024

    CWE-1024: Comparison of Incompatible Types

    The product performs a comparison between two entities, but the entities are of different, incompatible types that cannot be guaranteed to provide correct results when they are directly compared.

    Published:4 Jan 2018
    Organization:MITRE
    Modified:30 Apr 2026

    Related Weakness

    CWE-697: Incorrect Comparison