BaseIncomplete
CWE-1025Comparison Using Wrong Factors
Category: other
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.
Common consequences· 1
- Other — Varies by ContextThis 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.
References
(incoming)2
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Vulnerability | CVE-2025-25306cve-2025-25306 | 0% | live |
| Vulnerability | CVE-2026-40880cve-2026-40880 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.