Umbra Wiki weakness weakness/CWE-1025
Back to wiki

CWE-1025 — Comparison Using Wrong Factors

provenance: imported · CWE: CWE-1025

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