CWE-697 - Incorrect Comparison


The software compares two entities in a security-relevant context, but the comparison is incorrect, which may lead to resultant weaknesses.

This weakness class covers several possibilities:

  1. the comparison checks one factor incorrectly;
  2. the comparison should consider multiple factors, but it does not check some of those factors at all;
  3. the comparison checks the wrong factor.

Latest vulnerabilities for CWE-697


Description of CWE-697 on Mitre website