Common Weakness Enumeration

    CWE Definition / CWE-187

    CWE-187: Partial String Comparison

    The product performs a comparison that only examines a portion of a factor before determining whether there is a match, such as a substring, leading to resultant weaknesses.

    Published:19 Jul 2006
    Organization:MITRE
    Modified:11 Dec 2025

    Related Weakness

    CWE-1023: Incomplete Comparison with Missing Factors