CWE Database
/

CWE-1025

Back to CWE list

CWE-1025

Comparison Using Wrong Factors

Base
Incomplete

Description

The code performs a comparison between two entities, but the comparison examines the wrong factors or characteristics of the entities, which can lead to incorrect results and resultant weaknesses.

Parent Weaknesses (ChildOf)

Common Consequences

Scope

Other

Impact

Varies by Context

Applicable Platforms

Not Language-Specific

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now