CWE-1025: Comparison Using Wrong Factors
low-riskThe 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.
Abstraction: Base
Common Consequences
Other
→
Varies by Context
Real-World Examples (8)
| CVE | CVSS | EPSS | KEV |
|---|---|---|---|
| CVE-2025-32464 | 6.8 | 3.3% | — |
| CVE-2025-2887 | 4.5 | 0.2% | — |
| CVE-2025-2888 | 4.5 | 0.2% | — |
| CVE-2026-21691 | 5.4 | 0.1% | — |
| CVE-2025-27839 | 3.2 | 0.1% | — |
| CVE-2024-20342 | 5.8 | 0.1% | — |
| CVE-2025-25306 | 9.3 | 0.1% | — |
| CVE-2026-40227 | 6.2 | 0.0% | — |
0
/ 100
low-risk
Active Threat
0/50 · Minimal
Exploit Availability
0/50 · Minimal