CWE-1025 — Comparison Using Wrong Factors
CWE-1025: Comparison Using Wrong Factors
MITRE CWE weakness
| Kind | Weakness |
| Abstraction | Base |
| Status | Incomplete |
| Likelihood of exploit | — |
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
- Other: Varies by Context
Mitigations
(none listed)
References
- CWE page: https://cwe.mitre.org/data/definitions/1025.html
- CWE list: https://cwe.mitre.org/data/index.html
See all 1,245 pages under Weakness classes (CWE) →
Related pages
Browse by topic
Every page in the corpus, grouped. Search finds one page; this shows what else is here.