1. CVE archive
  2. Vulnerability types
  3. CWE-1025
CWE-1025 · #323 most frequent type in the archive

Comparison Using Wrong Factors

The code performs a comparison between two entities, but the comparison examines the wrong factors or characteristics of the entities.

Part of: CWE-697 · Incorrect Comparison

20CVEs of this type in the archive
1critical (CVSS ≥ 9)
11high severity (7–8.9)
Nov 24, 2026latest published

What it is

The code performs a comparison between two entities, but the comparison examines the wrong factors or characteristics of the entities.

Impact on systems

ScopeImpact
Other Varies by Context
This can lead to incorrect results and resultant weaknesses. For example, the code might inadvertently compare references to objects, instead of the relevant contents of those objects, causing two equal objects to be considered unequal.

Source: MITRE CWE catalog · Official entry on the MITRE website

CWE-1025 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20241
20254
202615

All CWE-1025 CVEs

20 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.